Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2018.4.1f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1159817
Regression
No
[Metal/Vulkan] Projection Matrix in a shader is offset when CommandBuffer is used and the camera has a custom projection
To reproduce:
1. Open attached project "Metal_iOS_Bug.zip"
2. Open "SampleScene.unity" scene
3. Make sure that Metal Editor Support is enabled
4. Select the Main Camera in the Hierarchy window
5. In "Create Command Buffer (Script)" component change Projection Type from No Renderto Texture to Unity Default
6. Enter Play mode
Expected result: green overlay of the cubes are placed directly on the cubes
Actual result: the green overlay is offset and is not placed on the white cubes
Reproduced on:
2017.4.0f1 2017.4.28f1 2018.4.2f1 2019.1.6f1 2019.3.0a5
Reproduced on:
- iPhone 8 Plus iOS 12.0
- macOS 10.14.4 machine
- An Android with Vulcan enabled VLNQA00124, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
- Win 10 machine
Notes:
- Doesn't reproduce on OpenGLCore
- On Android, the green overlay can't be seen even with OpenGless2 or 3
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
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Resolution Note (2019.1.X):
minor/cosmetic