Hi guys, I used a custom model and used the first person character system to rig it up, I'm getting this error:
Cannot set the parent of the GameObject 'First Person Objects' while its new parent 'FPSMesh - Gerl' is being destroyed
UnityEngine.Transform:set_parent(Transform)
Opsive.UltimateCharacterController.FirstPersonController.Character.FirstPersonObjects:OnAttachCamera(CameraController) (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Character/FirstPersonObjects.cs:195)
Opsive.Shared.Events.InvokableAction`1:Invoke(CameraController)
Opsive.Shared.Events.EventHandler:ExecuteEvent(Object, String, CameraController)
Opsive.UltimateCharacterController.Camera.CameraController:InitializeCharacter(GameObject) (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:419)
Opsive.UltimateCharacterController.Camera.CameraController:OnDestroy() (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:942)
any idea what's going on, also when I start the scene first person objects (the arms) dissapear from the hierarchy.
-Seth
Cannot set the parent of the GameObject 'First Person Objects' while its new parent 'FPSMesh - Gerl' is being destroyed
UnityEngine.Transform:set_parent(Transform)
Opsive.UltimateCharacterController.FirstPersonController.Character.FirstPersonObjects:OnAttachCamera(CameraController) (at Assets/Opsive/UltimateCharacterController/Scripts/FirstPersonController/Character/FirstPersonObjects.cs:195)
Opsive.Shared.Events.InvokableAction`1:Invoke(CameraController)
Opsive.Shared.Events.EventHandler:ExecuteEvent(Object, String, CameraController)
Opsive.UltimateCharacterController.Camera.CameraController:InitializeCharacter(GameObject) (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:419)
Opsive.UltimateCharacterController.Camera.CameraController:OnDestroy() (at Assets/Opsive/UltimateCharacterController/Scripts/Camera/CameraController.cs:942)
any idea what's going on, also when I start the scene first person objects (the arms) dissapear from the hierarchy.
-Seth