Search Issue Tracker
Fixed in 10.1.0
Votes
0
Found in [Package]
10.0.0-preview.27
Issue ID
1267920
Regression
Yes
[Vulkan] Shader Graph compilation errors on Vulkan - cannot convert from 'const float' to 'global 4-component vector of bool'
How to reproduce:
1. Open the attached project(Check edit below) using the '-xr-tests' as command-line arguments
2. Open Scene named "4013_TransparentMotionVector"
3. Select the HDRP_Test_Camera GameObject and check if XR compatibility is enabled under the HDRP_Test Settings component
4. Click Window -> General -> Test Runner
5. Select the PlayMode tab and search for test "4013_TransparentMotionVector"
6. Run the test and observe the results
Expected result: The test succeeds with no issues
Actual result: The test fails throwing an error in 'Shader Graphs/SG_Fabric_TransparentWithMotionVector': '' : compilation terminated at line 1103 (on vulkan)
Reproducible with: 2020.2.0b2(10.0.0-preview.27, 10.1.0-preview.21)
Not reproducible with: 2019.4.10f1(7.5.1), 2020.1.5f1(8.3.1), 2020.2.0b1(9.0.0-preview.68, 10.0.0-preview.27)
Could not test with: 2018.4.27f1(HDRP was in early preview stage)
Notes:
1. Graphics APIs tested: D3D11, D3D12, Vulkan
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 10.1.0):
HLSLcc bug. The fix is made up of two parts which landed in 2021.1.0a1 Editor and HDRP 10.1.0 package. Both Editor side and package side versions are required for the fix to work
Resolution Note (fix version 10.1.0):
Fixed in 2020.2.1f1 and HDRP 10.1.0. Both Editor side and package side versions are required for the fix to work