TippingGame/F8Framework

PackageManager使用git链接导入,控制台有报错,Unity版本是2022.3.16f1,影响为Game Luanch脚本无法拖拽到GameObect

Closed this issue · 2 comments

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at F8Framework.Core.Editor.TMPIntegrationSwitcher.EnsureIntegrationState () [0x00022] in .\Library\PackageCache\com.tippinggame.f8framework@1068aec\Editor\Localization\TMPIntegrationSwitcher.cs:13
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x000a5] in <78fe3e0b66cf40fc8dbec96aa3584483>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

我也是这个报错,2022.3.17f1c1,也按过F8了

已修复,1.0.3 InitializeOnLoadMethod统一管理调用顺序。