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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.