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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.