I am using the Creator Kit: Beginner Code thing and as I was looking through some things just to see what they were, I created an object but because it already existed it didn't create it and I deleted it afterwards thinking it was a duplicate and I accidentally deleted it. I tried to play my game but every time I attacked something, it stopped me from being able to control the character. I replaced the script with it's exact values and everything but it still didn't fix the problem.
The errors I am getting are:
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.Init () (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:41)
CreatorKitCode.VFXManager.Awake () (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:36)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.HighlightableObject.Start () (at Assets/Creator Kit - Beginner Code/Scripts/HighlightableObject.cs:45)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.SimpleEnemyController.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/SimpleEnemyController.cs:197)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:459)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:459)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:459)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.FootstepFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:459)
CreatorKitCodeInternal.AnimationControllerDispatcher.FootstepEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:58)
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.AttackFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:411)
CreatorKitCodeInternal.AnimationControllerDispatcher.AttackEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:53)
I have no idea what any of these mean since I am new to Unity.
Does anyone know what is going on?,I was making a game with the Creator Kit: Beginner Code but I accidentally deleted something, but I replaced it with the matching values but it didn't fix the issue. Every time I hit something the game won't allow me to move anymore.
Some of the errors that appear are:
NullReferenceException: Object reference not set to an instance of an object
CreatorKitCode.VFXManager.GetVFX (VFXType type) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:76)
CreatorKitCode.VFXManager.PlayVFX (VFXType type, UnityEngine.Vector3 position) (at Assets/Creator Kit - Beginner Code/Scripts/VFXManager.cs:98)
CreatorKitCodeInternal.CharacterControl.AttackFrame () (at Assets/Creator Kit - Beginner Code/Scripts/Characters/Player/CharacterControl.cs:411)
CreatorKitCodeInternal.AnimationControllerDispatcher.AttackEvent () (at Assets/Creator Kit - Beginner Code/Scripts/AnimationControllerDispatcher.cs:53)
Does anyone know what is happening?
↧