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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.