- Home /
Duplicate Question
Android - how to get low memory warnings? (eg, onLowMemory, onTrimMemory)
How do you get memory warnings, in Unity ?
Particularly, building to Android.
(I've just never had to do this - I'm astounded to learn it's not an obvious function in Unity!)
Thanks for any help, Android gurus!
This seems to be the dope no Android memory warnings:
http://developer.android.com/reference/android/app/Application.html#onLowMemory%28%29
I'm not very familiar with android development, but the documentation - for once - looks helpful; especially Example 3 about UnitySend$$anonymous$$essage and "Extending the UnityPlayerActivity Java Code"
http://docs.unity3d.com/Documentation/$$anonymous$$anual/PluginsForAndroid.html
Yeah .. I was kind of hoping for some sort of existing solution ! ;-)
Follow this Question
Related Questions
How many instances of a Object are handled in Unity 1 Answer
How is memory handled when using multiple variables to refer to Objects in the scene 0 Answers
2D Tilemap which way to go - memory-wise 1 Answer
Unity3D crashes when stopping from Debug mode: Is there a way to help it manage memory? 1 Answer