Forum rules - please read before posting.

UCC integraton scene problems with UFPS

**Hi i have UFPS and when i download UCC integration demo scene has missing scripts and dosent work can you fix this?

I writed to opposite UCC dev and he writed to me;**

__"Justin (Opsive)

May 13, 2024, 8:25 AM EDT

I just imported the Adventure Creator integration with UFPS and it looks like it's just the demo scene that has the missing scripts. The actual integration part will work, though I definitely understand that a working demo scene is helpful. If you get in contact with the Adventure Creator publisher I'm sure he'd be happy to give you a UFPS specific demo scene."__

Comments

  • Apologies for the trouble. As it's not an issue I can recreate, however, I'll need some more details in order to get to the bottom of things.

    To be clear: are you referring to the "Integration: UCC" file over on AC's Downloads page, or a separate demo scene from Opsive?

    What versions of AC, UCC, and Unity are you using, and what are the exact error messages that appear? Clicking on missing script warnings in the Console should reveal which objects in the Hierarchy they refer to.

    Error messages aside: what is the exact behaviour when running the scene? Is the camera focused on the player, unable to move?

    Any screenshots/additional details you can provide will be welcome.

  • yes im talking about inegration ucc 3 from downloads errors are with 2.5 top down third person that dosent exist in UFPS nothing is changed from demo scene, maybe is there possibilyty for you to make short tutorial for me and other ppl with seting up ucc cause its very popular with AC. lat more thing this additional error i recieve;

    IndexOutOfRangeException: Index was outside the bounds of the array.
    (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
    Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.TryStartAbility (Opsive.UltimateCharacterController.Character.Abilities.Ability ability, System.Boolean ignorePriority, System.Boolean ignoreCanStartCheck) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/UltimateCharacterLocomotion.cs:955)
    AC_UCC_Character.OnEnterGameState (AC.GameState newGameState) (at Assets/AdventureCreator/Downloads/UCC v3 integration/Scripts/AC_UCC_Character.cs:158)
    AC.EventManager.Call_OnChangeGameState (AC.GameState oldGameState, AC.GameState newGameState) (at Assets/AdventureCreator/Scripts/Managers/EventManager.cs:311)
    AC.StateHandler.LateUpdate () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:329)

  • What scene, specifically, are you referring to with "2.5 top down third person" - are you referring to a separate demo scene from UCC/UFPS itself?

    The integration's Readme file details how to use the integration. The integration has its own AC_UCC_Demo scene, which should be the one used in testing. What is the result of running this?

    at more thing this additional error i recieve;

    The error message is coming from UCC's own UltimateCharacterLocomotion script.

  • i talking about your scene that demos in and errors are poping out only error i dont have is for first person other types are as bugs

  • after turning on that scene i have black screen on it

  • so how to setup that scene to work properly and what settings to have so i not recive errors? i only need 1st person settings but still i dont want red errors from other types of movement to show

  • i fixed alone almoust all but 1 error left:

    Both a Player and a Hotspot Detector on that Player are required for Hotspots to be detected by 'Player Vicinity'

    -> AC debug logger
    UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
    AC.ACDebug:LogWarning (object,UnityEngine.Object) (at Assets/AdventureCreator/Scripts/Static/ACDebug.cs:39)
    AC.PlayerInteraction:CheckForHotspots () (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:329)
    AC.PlayerInteraction:ContextSensitiveClick (AC.MouseState) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:630)
    AC.PlayerInteraction:HandleInteractionMenu (AC.MouseState) (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:230)
    AC.PlayerInteraction:UpdateInteraction () (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:155)

  • edited May 2024

    Glad to hear things are now working, and thank you for your patience.

    Any details you can share about the issues you faced, and what steps you took to resolve them, will be welcome. It will help me reproduce them on my end, and it may help others in future who have similar problems.

    Both a Player and a Hotspot Detector on that Player are required for Hotspots to be detected by 'Player Vicinity'

    If your Settings Manager's Hotspot detection method is set to Player Vicinity, then your Player needs to be set up with the means to detect Hotspots nearby.

    A tutorial on setting up a Player in this way can be found here, and the demo scene's Atlas_AC Player has this set up with their HotspotDetector child object - it's a Sphere Collider coupled with a Hotspot Detector component.

  • i fixed if you want i can make tutorial later how to fix scene for ufps

    1more question how can i make items from my AC inventory to be equipped and used by ufps charr ?

  • Inventory items are synced from UCC -> AC, so picking up a UCC item can add a corresponding item to AC.

    To do this, locate the UCC object that gets equipped (in the Player's Hierarchy), and attach the AC_UCC_Item component. In the Linked AC Item ID field, enter in the ID number of the corresponding AC inventory item (to the left of its name in the Inventory Manager).

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.