|
Post by dedhedgames on Jan 22, 2024 2:58:37 GMT
So I have two areas set up with simple triggers. Works great! Only problem is when I return to the first scene and attempt to use cover (the cover addon), I get the following error. I can use the jump button to get away from the cover area but can't track down the culprit, although "helper" inside the code seems to be the culprit.
MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Transform.InverseTransformDirection (UnityEngine.Vector3 direction) (at <f7237cf7abef49bfbb552d7eb076e422>:0) Invector.vCover.vCoverController.IsLookingToCorner () (at Assets/Invector-3rdPersonController/Add-ons/Shooter Cover/Scripts/Controller/vCoverController.cs:2784) Invector.vCover.vCoverController.HandlePossibleCornerPoint () (at Assets/Invector-3rdPersonController/Add-ons/Shooter Cover/Scripts/Controller/vCoverController.cs:1487) Invector.vCover.vCoverController.UpdateCover () (at Assets/Invector-3rdPersonController/Add-ons/Shooter Cover/Scripts/Controller/vCoverController.cs:434) Invector.vCharacterController.vThirdPersonInput.FixedUpdate () (at Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/vThirdPersonInput.cs:220) Invector.vCharacterController.vMeleeCombatInput.FixedUpdate () (at Assets/Invector-3rdPersonController/Melee Combat/Scripts/CharacterController/vMeleeCombatInput.cs:71)
Anybody else have this problem and a solution? Appreciate the help
|
|
|
Post by dedhedgames on Jan 25, 2024 18:42:51 GMT
SOLVED!!!
|
|
|
Post by 12abb17 on Jan 26, 2024 20:55:09 GMT
What was your solution?
|
|
|
Post by Invector on Feb 16, 2024 15:08:35 GMT
Guys always make sure to post how you fix the issue, it may help others
|
|