Search Issue Tracker
Feature Request
Votes
0
Found in
6000.0.6f1
Issue ID
UUM-73962
Regression
No
"Shader error: 'LoadDOTSInstancedData_half4'" error is thrown when using a Shader with halfs instead of floats for a material with GPU Resident Drawer enabled
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene_Custom“ scene
3. Reimport the “Assets/Shaders/Unlit_Custom“ shader in the Project window (Right click > Reimport)
4. Observe the Console window
Expected result: No errors are thrown in the Console window
Actual result: “Shader error in 'Custom Unlit': 'LoadDOTSInstancedData_half4'“ error is thrown in the Console window
Reproducible with: 6000.0.6f1
Couldn’t test with: 2021.3.39f1, 2022.3.33f1 (due to compilation errors and feature not existing)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
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
- Editor freezes after some time when using NavMeshQuery::Raycast
- Cube is rendered green when its color is set to black and using the Lift Gamma Gain Volume interpolation
- Inner and outer exceptions are not unrolled correctly
- [iOS][WebGL] Audio Clip doesn't play when Load Type is set to Decompress On Load and iOS Silent Mode is enabled
- Crash on EditorBuildSettings::GetConfigObject when closing a specific project
Resolution Note:
Instanced material properties using half are not supported with GPUResidentDrawer, EntitiesGraphics, and more generally BatchRendererGroup.
It was investigated in the past and the conclusion is that it is very difficult to make it work portably in combination with everything else, so it's officially not supported at least for now.
Documentation should however be improved to make it clear. We'll make a new ticket for this.