UFPS + TPC Demo not working in 3.08

nathanj

Active member
Downloaded the two packs and the UCC demo from the integrations page and the demo doesn’t work. There is an error (but I’m away from the computer atm) and the player doesn’t spawn in.

Another user on Discord confirmed this happened to them as well.
 

limo5634

New member
I can also confirm this.
It looks like the Perspective Toggle UI is missing in the demo canvas and manager.

When I assign another Toggle to the field i can spawn in a zone but the Perspective Toggle with "v" is not working

This is the error with an empty toggle field.
Code:
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Demo.DemoManager.ActivateDemoZone (Opsive.UltimateCharacterController.Demo.DemoManager+DemoZone demoZone, System.Boolean teleport) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/DemoManager.cs:401)
Opsive.UltimateCharacterController.Demo.DemoManager.Teleport (System.Int32 index) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/DemoManager.cs:461)
Opsive.UltimateCharacterController.Demo.UI.ZoneSelection.LoadZone (System.Int32 index) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/UI/ZoneSelection.cs:218)
Opsive.UltimateCharacterController.Demo.UI.ZoneElement.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/UI/ZoneElement.cs:85)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:57)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:272)
UnityEngine.EventSystems.EventSystem:Update() (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)
 

nathanj

Active member
Just tried the latest dl and still getting the errors. Files were replaced in the package but still getting
Code:
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Demo.DemoManager.ActivateDemoZone (Opsive.UltimateCharacterController.Demo.DemoManager+DemoZone demoZone, System.Boolean teleport) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/DemoManager.cs:401)
Opsive.UltimateCharacterController.Demo.DemoManager.Teleport (System.Int32 index) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/DemoManager.cs:461)
Opsive.UltimateCharacterController.Demo.UI.ZoneSelection.LoadZone (System.Int32 index) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/UI/ZoneSelection.cs:218)
Opsive.UltimateCharacterController.Demo.UI.ZoneElement.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Assets/Opsive/UltimateCharacterController/Demo/Scripts/UI/ZoneElement.cs:85)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:57)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:272)
UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:501)
 
Top