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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.