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
- A Console error is not handled correctly when using #pragma kernel with the Kernel name not provided
- L(a,b) expression in float fields has erratic behaviour when ordering due to using instanceID as an index
- InvalidOperationException is thrown when switching to a custom Debug Draw Mode in Scene View
- [Android][Vulkan] Skybox and Environment effects flicker in the Player when using the Vulkan Graphics API
- "Shortcuts conflict" warning pops up when the shortcuts are different ("Shift + Mouse 2" and "Mouse 2")
Add comment