handzlikchris / handzlikchris/FastScriptReload

Freezes Editor; Unusable

Offen
#187 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
2.2k
Forks
167
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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:
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduziere den Freeze in einem Unity 6000.2.2f1-Projekt nach der Installation von FastScriptReload und überprüfe dabei das Einführungsfenster sowie die Project- oder Scene-Ansichten. Beginne mit dem bereitgestellten Editor-Log und dem Burst.Compiler.IL-Stacktrace und vergleiche anschließend das Verhalten mit entferntem FastScriptReload. Als erledigt gilt die Aufgabe, wenn der Editor geöffnet wird und ohne Freeze nutzbar bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, unity
Bereich
devtools, game-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.