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)
Comments (1)
-
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 12.0.0):
Fixed in Unity 2021.2.0b14 and above