Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2018.4.0f1
2020.1
Issue ID
1262117
Regression
No
[Mobile] [OpenGL] Graphics.DrawMeshNow causes UGUI elements to be drawn with wrong projection matrix
Reproduction steps:
1. Open project in "draw_mesh_now2.zip"
2. Switch Graphics API to OpenGL ES 2 or 3
3. Build for iOS and deploy the project
4. Press the "Click me" button
Expected result: Nothing happens (just like in Editor)
Actual result: Projection Matrix gets corrupted and the Sprite (red) gets rendered on the entire screen
Reproducible with: 2018.4.25f1, 2019.3.0a1, 2019.4.5f1, 2020.2.0f1
Could not test with 2020.2.0a16, because OpenGL ES is deprecated (screen blinks after pressing the button when using Metal)
Reproducible with OpenGL ES 2 and 3
Result with Metal: Pressing the "Click me" button makes the screen blink
Devices tested:
Reproducible with:
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00310 iPad Pro 12.9 1st gen (iOS 13.4.1)
Could not test with:
VLNQA00204 iPhone 5C (iOS 10.3.3) because Xcode could not install Application
Notes:
1. The issue has a workaround: enabling the second Camera before pressing "Click me"
2. Not reproducible in Editor (tested Metal and OpenGL Core)
3. When using Metal the screen blinks (tested iOS)
4. The script that is executed upon pressing the button is attached as an image below
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
- New items are created and old ones remain in memory when using 'treeView.SetRootItems(items)' and 'treeView.Rebuild()' which can cause a memory leak
- Code continues to run after enabling the Frame Debugger when in paused Play Mode and using 'WaitForSecondsRealtime' coroutine
Add comment