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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment