I am programming a VR apk with Unity but the following problem arises.
Being a VR application, I do not have any contact with the touch screen of my mobile phone, so after 10 seconds the screen dims and 5 seconds later it crashes.
I would like to know what solution I can give to this without having to deactivate the screen lock from the mobile.