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
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
- 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
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.