Skip to content

Instantly share code, notes, and snippets.

@devent
Created October 4, 2022 19:16
Show Gist options
  • Save devent/94ed34f7b38bb10a4ed63e7efbcec9ce to your computer and use it in GitHub Desktop.
Save devent/94ed34f7b38bb10a4ed63e7efbcec9ce to your computer and use it in GitHub Desktop.
Error in GameAssets(Clone).Assets.OnPrefabInit
System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at AsyncLoadManager`1[AsyncLoaderType].Run () [0x00015] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at Assets.OnPrefabInit () [0x0021f] in <6ab6b57553ed449280aa2485c86e9aab>:0
at KMonoBehaviour.InitializeComponent () [0x00068] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at KMonoBehaviour.InitializeComponent () [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at KMonoBehaviour.Awake () [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0
at LaunchInitializer.Update () [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>:0
Build: U43-525812-V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment