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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note (2019.1.X):
minor/cosmetic