UnityScriptHotReload icon indicating copy to clipboard operation
UnityScriptHotReload copied to clipboard

热重载报错

Open chengyimingvb opened this issue 1 year ago • 0 comments

[Patcher] Patch Fail:One or more errors occurred. (Object reference not set to an instance of an object.)Object reference not set to an instance of an object., stack: at AssemblyPatcher.GenericInstScanner.ScanMethodInstFromMetaData() at AssemblyPatcher.GenericInstScanner.Scan() at AssemblyPatcher.AssemblyPatcher.DoPatch() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at AssemblyPatcher.Program.Main(String[] args) UnityEngine.Debug:LogError (object) ScriptHotReload.HotReloadExecutor:DispatchTaskOutput () (at Assets/HotReload/Editor/HotReloadExecutor.cs:341) ScriptHotReload.HotReloadExecutor:OnEditorUpdate () (at Assets/HotReload/Editor/HotReloadExecutor.cs:158) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

chengyimingvb avatar Sep 23 '24 16:09 chengyimingvb