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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
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.