# \[4.7.2\] "profilegpu" does not work on Android ES31+AEP

**URL:** <https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** es31, unreal-engine, Android, UE4, question\
**Created:** [March 14, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931 "2015-03-14T12:16:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bethor\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bethor\_1](https://forums.unrealengine.com/u/bethor_1)\
**Post date:** [March 14, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/1 "2015-03-14T12:16:35Z")

</div>

the “profilegpu” command causes the follow error on Android ES31+AEP :

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.

reproable with any map.  
Tested on Shield Tablet with OTA2.2

---

<div class="post-metadata">

**Author:** ![AlwysAnrchy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlwysAnrchy](https://forums.unrealengine.com/u/AlwysAnrchy)\
**Post date:** [March 14, 2015, 7:36pm UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/2 "2015-03-14T19:36:07Z")

</div>

Howdy bethor,

Thank you for reporting this issue. I have just attempted a quick repro of this issue internally and have been unsuccessful so far. Here are the steps that i took:

1. Deployed a template project to a Shield Tablet on 2.2.1
2. Once deployed, I opened the console command in the level and entered ‘profilegpu’
3. I was unable to see any errors on the device.

Would there be any steps that I would be missing? Any additional information would be greatly appreciated.

Thanks and have a great day!

---

<div class="post-metadata">

**Author:** ![bethor\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bethor\_1](https://forums.unrealengine.com/u/bethor_1)\
**Post date:** [March 15, 2015, 4:31am UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/3 "2015-03-15T04:31:17Z")

</div>

Hello Sean,

That is strange. Just in case I tried making a clean sync and build on a different pc, and see the issue there too.

Some possible areas of mismatch I can think of:

- Are you building from the release branch (not master)?

- Are you using a Development build?

- Are you entering the “profilegpu” command directly on the device, after bringing the console up with a 4 finger tap?

- Are you checking for errors in logcat (there is no dialog box)

- Does your shield tablet version details match the following:

 ![34227-settings_20150315_132115.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/a/94a31edf521d523735a54d215f6efd42238f8e53.jpeg)

I’ve also put a test apk built on my machine here:

[https://www.dropbox.com/s/ty0i0ixxdihj7e6/profilegpurepro0315.zip?dl=0](https://www.dropbox.com/s/ty0i0ixxdihj7e6/profilegpurepro0315.zip?dl=0)

If you can try this, it should tell us if the mismatch is on the build itself or the device’s behavior.

Thanks for looking into this.

---

<div class="post-metadata">

**Author:** ![bethor\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bethor\_1](https://forums.unrealengine.com/u/bethor_1)\
**Post date:** [March 16, 2015, 1:04pm UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/4 "2015-03-16T13:04:16Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![AlwysAnrchy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlwysAnrchy](https://forums.unrealengine.com/u/AlwysAnrchy)\
**Post date:** [March 16, 2015, 1:30pm UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/5 "2015-03-16T13:30:45Z")

</div>

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, be sure to 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. 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!

---

<div class="post-metadata">

**Author:** ![Henry\_Read](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Henry\_Read](https://forums.unrealengine.com/u/Henry_Read)\
**Post date:** [July 12, 2018, 6:42am UTC](https://forums.unrealengine.com/t/4-7-2-profilegpu-does-not-work-on-android-es31-aep/310931/6 "2018-07-12T06:42:35Z")

</div>

I faced the similar problem, but I received no crash log.  
I was using the UE4.19.
