can't re-initialize prefab component on Android
can't re-initialize prefab component on Android
I have updated a prefab which uses prefab auto quit save/load on awake, works fine in unity play mode but its not reflected in the Android build, seems to keep the previous prefab data instead (UI text). I have deleted the app folder on Android before reinstalling but to no avail, any ideas anyone please!!
Re: can't re-initialize prefab component on Android
Hi there,
What event are you saving and loading Auto Save on?
Unity's OnApplicationQuit event is not called on Android, so you should use OnApplicationPause instead.
All the best,
Joel
What event are you saving and loading Auto Save on?
Unity's OnApplicationQuit event is not called on Android, so you should use OnApplicationPause instead.
All the best,
Joel
Re: can't re-initialize prefab component on Android
I have been using AUTO-SAVE OnApplicationQuit and it does appear to work on Android? .. to solve the issue of initializing a previous version of save-prefab , I now use events to trigger force save the 1st time a user starts the app after a google store update.
I suppose I was being lazy thanks for your response.
I suppose I was being lazy thanks for your response.