Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.4.2f2
Issue ID
860791
Regression
No
Custom Shader Editor doesn't refresh when changed in the shader code
Description: Custom Shader Editor doesn't refresh when changed in the shader code.
To reproduce:
1. Load shadertest project.
2. Open the def/myshader.shader file, scroll to the end, and make sure that 'CustomEditor "StandardShaderGUI"' is commented out.
3. Open 'def' scene.
4. Click on 'Cube' in the hierachy.
5. In the inspector for the material you should see a 'normal editor' (like 'normal-editor.png').
6. Open 'myshader.shader' again, and uncomment CustomEditor "StandardShaderGUI"
7. Get back to Unity.
Results: Normal editor is not replaced by custom GUI (until you 'force' a refresh by clicking off the Cube and back on again).
Expected: Custom GUI appears straight away, when switching back to Unity Editor.
Reproduces with: 5.3.0f4; 5.4.0f3; 5.4.2f2; 5.5.0p1; 5.6.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Add comment