I read through the thread you linked, and decided to investigate more by looking at the log files, like that other person suggested.
First, I moved the existing log files out of the folder (AppData/Local/Unity/Editor)
Next, I restarted my computer. (because the issue only happens after restart)
I then launched my project again, while watching the folder that holds the log files.
While unity was launching, it created a new “Editor.log” file.
When it got to “Importing” on the progress bar, I noticed where the log file ended.
These were basically the last few lines of the log:
*** Tundra build success (0.27 seconds), 0 items updated, 761 evaluated
AssetDatabase: script compilation time: 0.952068s
Begin MonoManager ReloadAssembly
Symbol file LoadedFromMemory is not a mono symbol file
Symbol file LoadedFromMemory is not a mono symbol file
Symbol file LoadedFromMemory is not a mono symbol file
Native extension for WindowsStandalone target not found
Refreshing native plugins compatible for Editor in 138.76 ms, found 6 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Then, I force quit the still “importing” unity process in Task Manager.
Relaunched the project again, to where it launched normally (as this is basically what has been happening, nothing new).
But now, the log file should contain more info about what it was doing. Because somehow, something must be changing when I force quit unity; and when I restart my computer.
Interestingly, there seems to be something that looks like an error message directly after where the ^ above log message ^ shows up in the file. But the second time unity launches, it seems to “brush off” this error. Even though it is “fatal”.
This is the message that follows:
Stacktrace:
at <0xffffffff>
at (wrapper managed-to-native) System.Reflection.FieldInfo.internal_from_handle_type (intptr,intptr) [0x00015] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.FieldInfo.GetFieldFromHandle (System.RuntimeFieldHandle) [0x0002a] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MonoModule.ResolveField (int,System.Type[ ],System.Type[ ]) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.Module.ResolveField (int) [0x00004] in <695d1cc93cca45069c528c15c9fdd749>:0
at Unity.Burst.Editor.BurstReflection.CollectGenericTypeInstances (System.Reflection.Assembly,System.Func2<System.Type, bool>,System.Collections.Generic.List
1<System.Type>,System.Collections.Generic.HashSet1<System.Type>) [0x000e5] in C:\Users\Andre\Documents\Unity Projects\Below The Stone\Library\PackageCache\com.unity.burst@1.5.6\Editor\BurstReflection.cs:800*__ __*at Unity.Burst.Editor.BurstReflection.FindExecuteMethodsForGenericInstances (System.Collections.Generic.HashSet
1<System.Reflection.Assembly>,System.Collections.Generic.HashSet1<System.Type>,System.Collections.Generic.Dictionary
2<System.Type, System.Type>,System.Action1<Unity.Burst.Editor.BurstCompileTarget>,System.Collections.Generic.List
1<Unity.Burst.Editor.BurstReflection/LogMessage>) [0x0004c] in C:\Users\Andre\Documents\Unity Projects\Below The Stone\Library\PackageCache\com.unity.burst@1.5.6\Editor\BurstReflection.cs:206
at Unity.Burst.Editor.BurstReflection.FindExecuteMethods (System.Collections.Generic.List`1<System.Reflection.Assembly>,Unity.Burst.Editor.BurstReflectionAssemblyOptions) [0x001d8] in C:\Users\Andre\Documents\Unity Projects\Below The Stone\Library\PackageCache\com.unity.burst@1.5.6\Editor\BurstReflection.cs:134
at Unity.Burst.Editor.BurstLoader/<>c__DisplayClass40_0.b__0 () [0x00001] in C:\Users\Andre\Documents\Unity Projects\Below The Stone\Library\PackageCache\com.unity.burst@1.5.6\Editor\BurstLoader.cs:615
at System.Threading.Tasks.Task.InnerInvoke () [0x00010] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.Tasks.Task.Execute () [0x00011] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00006] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00073] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00004] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00054] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x0005e] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00075] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at (wrapper runtime-invoke) .runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <695d1cc93cca45069c528c15c9fdd749>:0
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
I don’t know what a “SIGSEGV”. Maybe I’ll look into it. But maybe this is what the issue is, because this looks like something that shouldn’t be happening. And this is the message that WOULD show up if Unity never got stuck on “Importing” for me. So I hope maybe someone can explain what this error means.
I know there has to be some code maybe, or some unity package that is causing this.