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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
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.