[4.7.2] skylights causes crash on Android ES31+AEP

Repros with any scene.
Logcat shows this:

Fatal error: [File:G:\uesrc\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLDevice.cpp] [Line: 305]
D/UE4 ( 8126): [API][Error][High][1282] GL_INVALID_OPERATION error generated. Cannot begin query on an active query object.
D/UE4 ( 8126): [2015.03.06-00.42.40:126][ 0]LogRHI:Fatal: [API][Error][High][1282] GL_INVALID_OPERATION error generated. Cannot begin query on an active query object.

Tested on Shield Tablet with OTA2.2

Howdy bethor,

Thank you for submitting this report. I am going to need a bit more information before i begin investigating this issue. Would you be able to provide a screenshot showing your Android project settings? Would I be correct in using source to test this issue instead of the binary build?

Any additional information would be greatly appreciated.

Thanks and have a great day!

Hello Sean,

Yes I built from source with

bBuildForES2=false

bBuildForES31=true

I am assuming my build is ok because everything but skylights seem to work fine, including full samples like SunTemple and Matinee.

Here is a screenshot of my Android project settings

Note that I can repro it on a newly created project by creating a trivial scene like this one, and packaging it for “Android (ES31+AEP)” :

Thanks!

Hey Bethor,

I have just attempted a repro of the issue and have have been able to reproduce the issue that you have been seeing. Would you be able to to attach your full build logs and you full logcat logs to this post? This may help to decipher what is occurring.

Thanks!

Sean,
I cannot reproduce the issue on the master branch, so I suppose I just need to wait for the 4.8 release.
Feel free to close this issue, thanks!

Howdy bethor,

Glad to hear that this issue has been resolved for you in the Master branch of UE4. If you run across this issue in a future build, please reopen this issue so that I may be able to further investigate.

Also, just a reminder that the Master branch is not a stable build of UE4. I would be cautious when developing a project in that build. I would recommend opening a copy of your project so that you will have a back up if anything does go wrong.

Thanks and have a great day!