Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2020.2
2020.2.0a15
Issue ID
1254896
Regression
Yes
[Shader] ShaderImporterInspector.OnInspectorGUI must call error is thrown on selecting shaders
ShaderImporterInspector.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour error is thrown on selecting shaders.
Steps to repro:
1. Open the attached project.
2. Project Window > Select Conv/DebugUtils/Random/Tensor shader assets.
Actual Result:
ShaderImporterInspector.OnInspectorGUI error is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a15, 2020.1.0b12, 2020.1.0b11.
Working Fine in:
2020.1.0b10.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
ShaderImporterInspector.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour.
UnityEditor.Experimental.AssetImporters.AssetImporterEditor:OnDisable ()
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
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
Resolution Note (fix version 2020.2):
Fixed inspector errors when unselecting a shader include file.
Resolution Note (fix version 2020.1):
Fixed inspector errors when unselecting a shader include file.