handzlikchris / handzlikchris/FastScriptReload

Freezes Editor; Unusable

オープン
#187 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
2.2k
フォーク
167
PR マージ指標
30日以内にマージされた PR はありません

説明

In my relatively new Unity (6000.2.2f1) project, FastScriptReload freezes the editor, rendering this excellent tool useless.

Upon installation, it attempts to open the introductory explanation window, but freezes. Upon force closing Unity Editor and restarting, it freezes while seemingly drawing the Project or Scene views. The only solution to continue working is to manually remove FastScriptReload and not use it at all.

Debugging does not seem to reveal anything of note, besides three threads waiting, but there is no identifiable information on those threads. Their callstacks seem to originate from Unity or I can't tell.

The editor log is similarly cryptic, even weirdly cut off seemingly mid-log entries:

```
ference name) [0x00054] in :0
at Burst.Compiler.IL.AssemblyLoader.Resolve (Mono.Cecil.AssemblyNameReference name) [0x0007e] in :0
at Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) [0x0003a] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) [0x00006] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.TypeReference.Resolve () [0x00006] in <853812ae52c341daaef3c62ecdb86b32>:0
at Burst.Compiler.IL.Server.EntryPointMethodFinder.CollectGenericTypeInstances (Mono.Cecil.TypeReference type, System.Collections.Generic.List`1[T] types, System.Collections.Generic.HashSet`1[T] visited) [0x0002f] in :0
at Burst.Compiler.IL.Server.EntryPointMethodFinder.CollectGenericTypeInstances (Mono.Cecil.AssemblyDefinition assembly, System.Collections.Generic.List`1[T] types, System.Collections.Generic.HashSet`1[T] visited) [0x00057] in :0
at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets) [0x001d6] in :0
--- End of inner exception stack trace ---
at Burst.Compiler.IL.Server.EntryPointMethodFinder.FindEntryPoints (System.String[] rootAssemblyNames, Burst.Compiler.IL.Hashing.CacheRuntime.HashCacheAssemblyStore assemblyStore, Burst.Compiler.IL.AssemblyLoader assemblyLoader, Burst.Compiler.IL.NativeCompilerOptions options, Burst.Compiler.IL.Server.ProfileDelegate profileCallback, System.Boolean includeRootAssemblyReferences, System.Boolean splitTargets) [0x00238] in :0
at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass18_1.b__0 (Burst.Compiler.IL.Server.Caching.CacheManager cacheManager) [0x0005e] in :0
at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_0`1[TResult].b__0 () [0x00145] in :0
at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func`2[T,TResult] function) [0x00131] in :0
at Burst.Compiler.IL.Server.CompilerServer.FindMethods (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Aot.AotCompilerOptions aotOptions, Burst.Compiler.IL.AssemblyDefinesDict assemblyDefines, Burst.Compiler.IL.Server.TargetKey target, Burst.Compiler.IL.Server.Caching.CacheManager cacheManager, Burst.Compiler.IL.CompilerStatistics stats, System.Threading.CancellationToken cancellationToken) [0x00299] in :0
at Burst.Compiler.IL.Server.CompilerServer+<>c__DisplayClass26_0`1[TResult].b__0 () [0x00145] in :0
at Burst.Compiler.IL.Server.CompilerServer.RunTask[TResult] (Burst.Compiler.IL.Server.TargetKey target, System.String taskName, System.String[] assemblyFolders, System.Threading.CancellationToken cancellationToken, System.Func`2[T,TResult] function) [0x00131] in :0
at Burst.Compiler.IL.Server.CompilerServer.Compile (Burst.Compiler.IL.Server.CompilerServerOptions options, Burst.Compiler.IL.Server.CompilationMessageStreamer streamer, System.Threading.CancellationToken cancellationToken) [0x001ca] in :0

While compiling job:
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

FastScriptReload をインストールした後の Unity 6000.2.2f1 プロジェクトでフリーズを再現し、導入ウィンドウと Project または Scene ビューを確認します。まず、提供されたエディターログと Burst.Compiler.IL のスタックトレースを確認し、その後 FastScriptReload を削除した場合の動作と比較します。エディターが開き、フリーズせずに使用できる状態になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, unity
領域
devtools, game-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。