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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
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.