Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2018.3.6f1
2019.1.0a1
2019.2.0a1
Issue ID
1133860
Regression
No
Editor freezes after Building & Running while in Play mode
How to reproduce:
1. Open the attached project
2. Open the "OfflineLobby.unity" scene
3. Enter Play Mode
4. Press Ctrl + B
5. Build the project
6. Close the build dialog
Actual result: Unity Editor freezes.
Reproducible with 2019.2.0a8, 2019.1.0b7, 2018.3.9f1.
Notes:
The freeze occurs when "Log(string.Format(format,args), (int)unityLogType);" DefaultLogger.cs:88 is called.
Can't test previous versions because the project gets corrupted.
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2019.2.X):
The problem is that the user is overwriting the logging function. Inside his/her log function they are calling Debug.Assert, which causes another log callback. This log is sent to his/her log function which again calls the Debug.Assert causing this endless loop to happen. By commenting out line 88 things work and we can see the build error:
```MissingReferenceException: The object of type 'ScrollRect' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.```