I have published an Android game, it works fine in editor, but causing issues in Android devices. After install, it works fine on first run, but after quitting the game and opening again, it starts to lag and show white specs on screen. Also it works fine again after deleting application data or uninstall and reinstall (but problem reappears on restart). Also updating with a new version without uninstall is causing issue. I guess either the PlayerPrefs is corrupting other settings, or the Quality settings are altered when the application restarts.
I have not found similar issues in forum, so I'm confused whether it is a bug in Unit editor or I've made a mistake in settings or code. I tried manually setting the Quality settings in GameController's Awake method, but it didn't work. But I couldn't understand why it doesn't show any issue on first run.
Can someone help me understand the problem? Is there anyone facing similar issues?
↧