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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
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.