Possible sequencerCommand LoadLevel in TPC
Posted: Fri Mar 10, 2023 6:38 am
Hi Tony,
Since updated to Version3 of Opsive TPC, the previously flawless " sequencerCommand LoadLevel(Level,spawnpoint) is no longer working properly.
After loading the new level, the Player model is correctly at the designated target, but the MainCamera stays behind at where it was triggered, neither following nor able to control the Player. I have tried & unable to solve the problem. Can you reproduce this on your end?
V3 of UCC setup slightly different now with Character IK scripts etc moved to a lower hierarchy, not sure if this affecting it. FYI below is the only continuous errors I got after triggered loadlevel;
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Character.CharacterLocomotion.UpdatePosition () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/CharacterLocomotion.cs:774)
Since updated to Version3 of Opsive TPC, the previously flawless " sequencerCommand LoadLevel(Level,spawnpoint) is no longer working properly.
After loading the new level, the Player model is correctly at the designated target, but the MainCamera stays behind at where it was triggered, neither following nor able to control the Player. I have tried & unable to solve the problem. Can you reproduce this on your end?
V3 of UCC setup slightly different now with Character IK scripts etc moved to a lower hierarchy, not sure if this affecting it. FYI below is the only continuous errors I got after triggered loadlevel;
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Character.CharacterLocomotion.UpdatePosition () (at Assets/Opsive/UltimateCharacterController/Scripts/Character/CharacterLocomotion.cs:774)