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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution 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.