Search Issue Tracker
Won't Fix
Votes
3
Found in [Package]
13.1.8
14.0.3
15.0.1
Issue ID
SGB-338
Regression
Yes
Shader Graph compilation shows errors when compiling for the current build platform for DX12
Reproduction steps:
1. Open the attached project “Test”
2. In Project window find and open Assets/ProblematicShader/ParticleUnlitSoftWarp.shadergraph Shader Graph
3. Press “Compile and show code” in the Inspector (make sure it is selected to compile for “Current build platform”
4. Go to Edit > Project Settings > Player > Other Settings and change Graphics API to Direct3D12
5. Compile and show code again for the Assets/ProblematicShader/ParticleUnlitSoftWarp.shadergraph Shader Graph
Expected result: The Shader Graph is compiled successfully without errors
Actual result: “Shader error in 'Shader Graphs/ParticleUnlitSoftWarp': Instructions should not read uninitialized value. at ParticleUnlitSoftWarp(1700) (on d3d11)” errors
Reproducible with: 13.1.1 (2022.1.0a16), 13.1.8 (2022.1.21f1), 14.0.3 (2022.2.0b13), 15.0.1 (2023.1.0a17)
Not reproducible with: 10.10.1 (2020.3.41f1), 12.1.7(2021.3.12f1), 13.1.0 (2022.1.0a15)
Reproducible on: Windows 10
Note: Errors go away when Shader Graph is reimported
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
As this is an experimental feature, we aren't committed to resolving this in the near-term. The information helps us understand what other considerations we may need to have before pulling this out of experimental.