Control ScreenSaver mess with render
i needed to privent the screen from going to sleep ,, so i used "Control ScreenSaver " node in GmaeMode blueprint and it causes the wrong rendering
so in order to avoid that i used a delay of 0.8s (anything below 0.6s won't work for me at least) which fix the issue of miss rendering but it will make the screen to make a black interruption like a flick (if those are the right terminologies) in another word the screen goes full black for something like 0.2s then the render is ok.
i only tested that with Android 5.1.1 (one plus one) UE4 4.9.2 lunch version total blueprint project
bad render only happens one as the the node being called
go back to normal as i reload the level
asked Nov 09 '15 at 02:29 PM in Bug Reports
You need to edit GameActivity.java file. It's located in "Unreal Engine\4.9\Engine\Build\Android\Java\src\com\epicgames\ue4" and add this line AndroidThunkJava_KeepScreenOn(true); after "nativeResumeMainInit();"
This should keep the android screen on while the game is running.
answered Nov 11 '15 at 02:25 PM
Oh my.. i just noticed that the notepad file is turned into a .java.template file and was not working because of that possibly. so beware of that if you change the java file, you have to rename it .java but now im not totally sure what it needs to be called.. i changed it back to .java and it couldn't find it so .template it is, and my game still wont stay open :(
Follow this question
Once you sign in you will be able to subscribe for any updates here