Search Issue Tracker
By Design
Votes
0
Found in [Package]
5.1.0
Issue ID
1163579
Regression
No
[LWRP] A Shader created in ShaderGraph is not applied on Object when calling the sceneView.SetSceneViewShaderReplace function
To reproduce:
1. Download attached "test.zip" project and open in Unity
2. Open "SampleScene" scene
3. Open Scene View
4. Observe that there is Pink Cube gameObject
5. In Toolbar press demo > change
Expected results: ShaderGraph Shader is applied on Cube
Actual results: ShaderGraph Shader is not applied on Cube and Cube becomes Transparent
Notes:
- This issue appears both on Windows and macOS
- Manually written Shaders can be used and work as Expected
- Could not check on Unity 2018.4 and lower because Project becomes corrupted
- Tried to create a Reproduction Project to check HDRP but it was unsuccessful
Reproduced on Package version 5.1.0 and 6.7.1
Reproduced on Unity 2019.1.7f1, 2019.2.0b6 and 2019.3.0a6
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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Resolution Note:
Replacement shaders are not supported in SRP.