Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1321997
Regression
No
Shader Graph with global shader variable _CameraSortingLayerTexture does not work as described
How to reproduce:
1. Open the user's attached "CameraLayerTextureTest.zip" project
2. Open the "SampleScene" Scene
3. Select the "Water" GameObject in the Hierarchy window
4. Move the "Water" GameObject over the "TestImage" and "Circle" GameObjects in the Scene view
Expected result: Water effect is applied to "TestImage" and "Circle" GameObjects
Actual result: _CameraSortingLayerTexture acts as though it's not a global shader variable and the Water effect is not applied
Reproducible with: 11.0.0 (2021.1.0f1), 12.0.0 (2021.2.0a11)
Could not test with: 7.5.3, 10.4.0 (_CameraSortingLayerTexture is not available)
-
jeffweber
Mar 26, 2021 15:27
You can find some follow up info and a workaround in the following forum post. Possibly it'll help when fixing the bug.
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 when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (fix version 12.0.0):
Fixed in Unity 2021.2.0b14 and above