So I have setup everything as documented, but when I try to run the Spark demo scene I get these messages,Im missing something that needs setup but im not sure what. oh and when close my project ,then try to open it I get hundreds of different errors,
A game object can only be in one layer. The layer needs to be in the range [0...31]
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SetupPlayer (UnityEngine.GameObject,int,int,int,int,UnityEngine.Color,UnityEngine.Color) (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:434)
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SceneLoaded () (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:287)
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode) (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:201)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode)
NullReferenceException: Object reference not set to an instance of an object
Opsive.DeathmatchAIKit.AI.DeathmatchAgent+WeaponStat.Initialize (UnityEngine.GameObject gameObject) (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs:94)
Opsive.DeathmatchAIKit.AI.DeathmatchAgent.Start () (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs:239)
A game object can only be in one layer. The layer needs to be in the range [0...31]
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SetupPlayer (UnityEngine.GameObject,int,int,int,int,UnityEngine.Color,UnityEngine.Color) (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:434)
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SceneLoaded () (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:287)
Opsive.DeathmatchAIKit.Demo.Game.DeathmatchManager:SceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode) (at Assets/Opsive/DeathmatchAIKit/Demo/Scripts/Game/DeathmatchManager.cs:201)
UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded (UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode)
NullReferenceException: Object reference not set to an instance of an object
Opsive.DeathmatchAIKit.AI.DeathmatchAgent+WeaponStat.Initialize (UnityEngine.GameObject gameObject) (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs:94)
Opsive.DeathmatchAIKit.AI.DeathmatchAgent.Start () (at Assets/Opsive/DeathmatchAIKit/Scripts/AI/DeathmatchAgent.cs:239)
Last edited: