when I try to connect to our Oppo A72 (Android 10) I get the following error:
Failed to set global device setting "enable_gpu_debug_layers" to value "1".
This happens with both opengl and vulkan.
Any idea what might be the cause? This is being deployed from unity and unitys own profiling etc. works fine.
Thanks in advance!
Hello, could you try setting the device settings manually using ADB, and then post the output? For example:
adb shell settings put global enable_gpu_debug_layers 1
adb shell settings put global gpu_debug_app com.DefaultCompany.shader_profile
thanks! This has put me onto the right track.I got this error:Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
"In Developer Options, scroll (all the way) down until u find Disable Permission Monitoring
Disable Permission Monitoring
and turn it on."
fromhttps://stackoverflow.com/questions/52079343/how-can-i-use-adb-to-grant-permission-without-rootresolved the issue for me.Thanks!seb
Thanks for confirming the workaround - we'll get this written up as a FAQ entry for the tools.
View all questions in Graphics and Gaming forum