Having issues starting demo scene

Deso

New member

  1. I'm having issues with tps ucc, i get object reference not set to an instance of an object errors twice when i want to start the offline demo scene

  2. im not that experienced, i dont have to do anything in those demo scenes except adding them to build profile or ?
 

  1. I'm having issues with tps ucc, i get object reference not set to an instance of an object errors twice when i want to start the offline demo scene

  2. im not that experienced, i dont have to do anything in those demo scenes except adding them to build profile or ?
Sorry, I just got back from vacation, I'll get to it tomorrow.
 
Hi,
Can you send me the complete errors logs, please ?
I think i I know where is the issue.

NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.UpdateCharacter () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:570)
Opsive.UltimateCharacterController.Character.CharacterLocomotion.Move (System.Single horizontalMovement, System.Single forwardMovement, System.Single deltaYawRotation) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterLocomotion.cs:568)
BloodCloudStudio.Network.Mirror.Controller.Character.CharacterLocomotionBridge.Move (System.Single horizontalMovement, System.Single forwardMovement, System.Single deltaYawRotation) (at Assets/BloodCloudStudio/Network/Mirror/Controller/Scripts/Character/CharacterLocomotionBridge.cs:228)
Opsive.UltimateCharacterController.SimulationManager+SmoothedCharacter.Move (System.Boolean preMove) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:175)
Opsive.UltimateCharacterController.SimulationManager.MoveCharacters (System.Boolean preMove, System.Single interpAmount) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:783)
Opsive.UltimateCharacterController.SimulationManager.FixedMove () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:722)
BloodCloudStudio.Network.Mirror.Controller.Game.SimulationManagerBridge.FixedUpdate () (at Assets/BloodCloudStudio/Network/Mirror/Controller/Scripts/Game/SimulationManagerBridge.cs:108)

NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Items.Actions.UsableAction.StartItemUse (Opsive.UltimateCharacterController.Character.Abilities.Items.Use useAbility) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Items/Actions/UsableAction.cs:453)
Opsive.UltimateCharacterController.Items.Actions.UsableAction.UseItemAbilityStarted (Opsive.UltimateCharacterController.Character.Abilities.Items.Use useAbility) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Items/Actions/UsableAction.cs:418)
Opsive.UltimateCharacterController.Character.Abilities.Items.Use.AbilityStarted () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/Abilities/Items/Use.cs:406)
Opsive.UltimateCharacterController.Character.Abilities.Ability.StartAbility (System.Int32 index) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/Abilities/Ability.cs:485)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.TryStartAbility (Opsive.UltimateCharacterController.Character.Abilities.Items.ItemAbility itemAbility, System.Boolean ignoreCanStartCheck) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:1114)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.TryStartAbility (Opsive.UltimateCharacterController.Character.Abilities.Ability ability, System.Boolean ignorePriority, System.Boolean ignoreCanStartCheck) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:899)
BloodCloudStudio.Network.Mirror.Controller.Demo.AI.NetworkAgent.Update () (at Assets/BloodCloudStudio/Network/Mirror/Controller/Demo/Scripts/AI/NetworkAgent.cs:104)
 
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.UpdateCharacter () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:570)
Opsive.UltimateCharacterController.Character.CharacterLocomotion.Move (System.Single horizontalMovement, System.Single forwardMovement, System.Single deltaYawRotation) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/CharacterLocomotion.cs:568)
BloodCloudStudio.Network.Mirror.Controller.Character.CharacterLocomotionBridge.Move (System.Single horizontalMovement, System.Single forwardMovement, System.Single deltaYawRotation) (at Assets/BloodCloudStudio/Network/Mirror/Controller/Scripts/Character/CharacterLocomotionBridge.cs:228)
Opsive.UltimateCharacterController.SimulationManager+SmoothedCharacter.Move (System.Boolean preMove) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:175)
Opsive.UltimateCharacterController.SimulationManager.MoveCharacters (System.Boolean preMove, System.Single interpAmount) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:783)
Opsive.UltimateCharacterController.SimulationManager.FixedMove () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Game/SimulationManager.cs:722)
BloodCloudStudio.Network.Mirror.Controller.Game.SimulationManagerBridge.FixedUpdate () (at Assets/BloodCloudStudio/Network/Mirror/Controller/Scripts/Game/SimulationManagerBridge.cs:108)

NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Items.Actions.UsableAction.StartItemUse (Opsive.UltimateCharacterController.Character.Abilities.Items.Use useAbility) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Items/Actions/UsableAction.cs:453)
Opsive.UltimateCharacterController.Items.Actions.UsableAction.UseItemAbilityStarted (Opsive.UltimateCharacterController.Character.Abilities.Items.Use useAbility) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Items/Actions/UsableAction.cs:418)
Opsive.UltimateCharacterController.Character.Abilities.Items.Use.AbilityStarted () (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/Abilities/Items/Use.cs:406)
Opsive.UltimateCharacterController.Character.Abilities.Ability.StartAbility (System.Int32 index) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/Abilities/Ability.cs:485)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.TryStartAbility (Opsive.UltimateCharacterController.Character.Abilities.Items.ItemAbility itemAbility, System.Boolean ignoreCanStartCheck) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:1114)
Opsive.UltimateCharacterController.Character.UltimateCharacterLocomotion.TryStartAbility (Opsive.UltimateCharacterController.Character.Abilities.Ability ability, System.Boolean ignorePriority, System.Boolean ignoreCanStartCheck) (at ./Packages/com.opsive.ultimatecharactercontroller/Runtime/Character/UltimateCharacterLocomotion.cs:899)
BloodCloudStudio.Network.Mirror.Controller.Demo.AI.NetworkAgent.Update () (at Assets/BloodCloudStudio/Network/Mirror/Controller/Demo/Scripts/AI/NetworkAgent.cs:104)

Also, if I remember correctly, there’s a syntax error in one of the camera files: the curly braces are inside a conditional compilation block (#if/#ifdef), which can leave the braces unbalanced depending on the define.
 

  1. I'm having issues with tps ucc, i get object reference not set to an instance of an object errors twice when i want to start the offline demo scene

  2. im not that experienced, i dont have to do anything in those demo scenes except adding them to build profile or ?
You must add the demo scenes to the build profile and launch the "OfflineScene" scene; you cannot start the "OnlineScene" scene before connecting with the NetworkManager, which in this case is located in the "OfflineScene" scene.
 
Did you get error messages in client or server authoritative model?
With or without force authoritative builds?
Are you on the server, the host, or the client?
And how did you start the server, as host or server-only?
 
Did you get error messages in client or server authoritative model?
With or without force authoritative builds?
Are you on the server, the host, or the client?
And how did you start the server, as host or server-only?
Server Authoritive
host in unity editor
i start it as host

i didnt understand the force part, i changed nothing and i installed a fresh urp with 6.3 unity and just imported the asset with tps ucc
 
Server Authoritive
host in unity editor
i start it as host

i didnt understand the force part, i changed nothing and i installed a fresh urp with 6.3 unity and just imported the asset with tps ucc
Are you add the demo scenes to the build profile and launch the "OfflineScene"?
 
Sorry, I don't have the new versions of Third and First Person controller, but I'll get them to test this, just a little more patience, thanks for the reports.
 
Back
Top