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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.