Search Issue Tracker
Duplicate
Votes
0
Found in
5.3.6f1
Issue ID
818026
Regression
No
The Editor crashes when changing from a MonoScript that has OnDrawGizmos() to one that does not (in the Debug window)
Steps to reproduce the issue:
1. Download and open attached project.
2. Open scene named "Test".
3. In the "Hierarchy" window select game object named "GameObject".
4. In the "Inspector" window add component named "Script1".
5. Activate the "Debug" window.
6. Change the script target to "Script2".
7. Change the script target to "Script3".
Actual result:
The Editor crashes.
Expected result:
The Editor should not crash.
Reproduced with:
5.1.5f1, 5.2.5f1, 5.3.6f1, 5.3.6p1, 5.4.0f3, 5.5.0a4.
Note:
"Script1" has three serialized properties and OnDrawGizmos method.
"Script2" only has one serialized property and OnDrawGizmos method.
"Script3" has all three serialized properties but no OnDrawGizmos method.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
Add comment