Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2019.3.4f1
2020.2
Issue ID
1230927
Regression
No
GL culling state is reset after a call to GL.IssuePluginEvent
Steps to reproduce:
1. Open the attached project "GL_invertCulling.zip"
2. Build it on Android
3. Notice the LogCat
Expected results: GL culling state is not reset after a call to GL.IssuePluginEvent
Actual results: GL culling state is reset after a call to GL.IssuePluginEvent
Reproducible with: 2017.4.39f1, 2018.4.21f1, 2019.3.10f1, 2020.1.0b6, 2020.2.0a5
VLNQA00220, Samsung Galaxy Note9 (SM-N960F), Android 8.1.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00123, Google Pixel 2 XL (Pixel 2 XL), Android R, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00024, Xiaomi Mi 5 (MI 5), Android 7.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
Note: Does not reproduce with Standalone. This feature only specific to OpenGles
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
- “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
Resolution Note (2020.2.X):
By design: GL state is reset after plugin call to avoid side effects. Plugins are expected to set all of GL state that they need for rendering in their callback, including culling mode. As the plugin callback can be deffered to gfx thread which might happen after scripting has finished.