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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
This is a duplicate of issue #996473