Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.4.0f3
Issue ID
820473
Regression
No
Undo resets inspector for ExecuteInEditMode scripts when same object has a material
Steps to reproduce:
1. Open attached project "820473.zip"
2. Open scene repro
3. Click on "Cube" and notice that it has Test script with custom inspector
4. Click on "Settings" tab
5. Left-click cube
6. In top menu go Edit and notice "Test inspector reset" step is added
7. Click it and notice that Test script resets to "View" tab being selected
Additional steps:
8. Set material of "Cube" game object to none
9. Set "Settings" tab and click on cube
10. Click undo and notice that inspector isn't reset
Note: In step 5 it's also enough to edit cube's transform through inspector
Reproduced with: 5.2.4f1, 5.3.6p2, 5.4.0f3, 5.5.0a5
Comments (1)
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Aberdyne
Nov 16, 2016 11:01
It is clearly the fault of the material editor. It also happens when you change the shader and the material's custom GUI changes. Material editor forces a rebuild of the inspector. I'll be glad it didn't but it is not really a bug per se.