Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b13
Issue ID
1045450
Regression
No
Not using "unity_ObjectToWorld" causes calculation error in shader
Reproduction steps:
1. Open "instanceShaderBug.zip" project
2. Open "SampleScene" scene
3. Enter Play mode
4. See that a Red Cube is rendered
5. Exit Play mode
6. Edit "ErrorInstance" shader
7. Comment line 43
8. Uncomment line 46
9. Enter Play mode
Expected Result: With or without "unity_ObjectToWorld", no calculation error should occur
Actual Result: Not using "unity_ObjectToWorld" causes calculation error
Reproduced with: 2018.3.0a1, 2018.2.0b7, 2018.1.4f1, 2017.4.5f1, 2017.3.2f1, 2017.2.3f1, 2017.1.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment