Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0a6
Issue ID
896837
Regression
Yes
Script compilation hangs Editor if script contains self referencing
Unity hangs on compilation if script contains self-referencing
2. How we can reproduce it using the example you attached
1. Open Unity 2017.1.
2. Open project attached.
3. Project hangs in the stage of "Script Compilation".
Actual result: Unity hangs on Scripts compilation and is not responsive.
To make it finish compilation open script "NewBehaviourScript" and comment line:
public Brok brok;
Compilation will end correctly.
Expected result: Compilation finishes correctly, errors about self-referencing are shown.
Reproduces in:
Version 2017.1.0a6 (d50dfc701738)
Wed, 29 Mar 2017 13:58:50 GMT
Branch: trunk
Reproduces on opening project from Unity 2017.1 in 2017.1.
Does not reproduce on
Version 5.6.0f3 (497a0f351392)
Wed, 29 Mar 2017 22:26:44 GMT
Branch: 5.6/release
Does not reproduce on upgrading project from 5.6.0f3 to 2017.1.0a6.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #896503