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
- Element name field has no character limit in UI Builder
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
- Frame Debugger scrollbar gets cut off at the bottom when the Frame Debugger window is maximised
- Frame Debugger docked with the Game View can still be enabled when Game View is maximised and minimised
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.