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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment