Search Issue Tracker
By Design
Votes
2
Found in
2019.4
2020.1.0b13
2020.2
Issue ID
1261269
Regression
No
Mesh with VertexAttribute.Position format set to Float16 does not receive any projection from the Projector
How to reproduce:
1. Open the user's attached "ProjectorFloat16-2020.1.zip" project
2. Open the "SampleScene" Scene
3. Observe the meshes in the Scene view
Expected result: Both meshes with Float16 and Float32 positions receive shadows from the Projector
Actual result: Left mesh with Float32 position receives shadows, Right mesh with Float16 position does not
Reproducible with: 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Could not test with: 2018.4.24f1 (VertexAttributeDescriptor not available)
Notes:
- The issue is reproducible in the Editor and on Windows, Mac build
- The issue is reproducible with both Projector/Light and Projector/Multiply materials
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
- “NullReferenceException” thrown when moving control points on a tree branch in Scene view
- [Linux] Player window unexpectedly resizes to monitor dimensions when calling "Screen.SetResolution" function with hardcoded resolution matching current display's width or height
- Color picker does not show the correct color when selecting color on the moving object
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
Resolution Note:
By design, user code was constructing vertex data with w=0 values for the position, and some shaders (Projector one of them) do not expect that. Fixing code to produce w=1 values fixes it.