Search Issue Tracker

Duplicate

Votes

0

Found in

2017.4.1f1

Issue ID

1041734

Regression

Yes

Unity crashes or freezes during script recompilation after making changes in scripts

Mono

-

To reproduce:
1. Open the attached project
2. Search for the "StandardShaderGUI" script and open it
3. Uncomment the 571st line

Expected result: Editor recompiles script changes with no issues
Actual result: Editor freezes or crashes after a tiny change in the script

Reproducible: 2017.3.0a1 2017.4.4f1
Not reproducible: 2017.2.3f1, 2018.1.2f1, 2018.2.0b6
Regression: 2017.3.0a1

Notes:
- Reproduces only when using .NET 3.5

Few stack frames:

0x00007FFFAD835FCE (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4732] mono_jit_runtime_invoke
0x00007FFFAD788A49 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
0x0000000140A3086C (Unity) scripting_method_invoke
0x0000000140A2422A (Unity) ScriptingInvocation::Invoke
0x0000000140A0D359 (Unity) MonoManager::EndReloadAssembly

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.