Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.3.0b4
Issue ID
739944
Regression
Yes
Calling GUI methods in Update crashes the editor
Add the following code to the Update method of a new script:
if (GUI.Button (new Rect (20, 20, 60, 20), "Test")) {}
Attach the script to an object and press play. Unity will crash!
This is a regression introduced somewhere between Unity 5.3.0a1 and 5.3.0b1
From the log files:
========== OUTPUTING STACK TRACE ==================
0x00000001412DB657 (Unity) GUIStyle::Draw
0x00000001412DD42B (Unity) GUIStyle::Draw
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment