Exception (cs:75834): NullReferenceException: Object reference not set to an instance of an object. MaterialConfig.GetMaterialPropertyBlock (UnityEngine.Material mat, UnityEngine.Vector3 pos, UnityEngine.Vector3 scale) (at <00000000000000000000000000000000>:0) MaterialSetup.OnEnable () (at <00000000000000000000000000000000>:0) GameManager.CreatePrefab (System.String strPrefab, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot, UnityEngine.Vector3 scale, System.Boolean active) (at <00000000000000000000000000000000>:0) Prefab.Spawn (UnityEngine.Vector3 pos, UnityEngine.Quaternion rot, UnityEngine.Vector3 scale, System.Boolean active) (at <00000000000000000000000000000000>:0) World.Spawn (System.String category, Prefab prefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Vector3 scale) (at <00000000000000000000000000000000>:0) World.Spawn (ProtoBuf.PrefabData prefab) (at <00000000000000000000000000000000>:0) World+<SpawnAsync>d__70.MoveNext () (at <00000000000000000000000000000000>:0) WorldSetup+<InitCoroutine>d__15.MoveNext () (at <00000000000000000000000000000000>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <00000000000000000000000000000000>:0) GameManager:CreatePrefab(String, Vector3, Quaternion, Vector3, Boolean) Prefab:Spawn(Vector3, Quaternion, Vector3, Boolean) World:Spawn(String, Prefab, Vector3, Quaternion, Vector3) World:Spawn(PrefabData) <SpawnAsync>d__70:MoveNext() <InitCoroutine>d__15:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)