Loaded asset from assetbundle didn't unload even set to null
Hi, I use assetbundle to load my prefab as gameobject,
and keep the reference by my class's member.
And I set a UIButton to unload loaded gameobject memory and unload assetbundle.
First, I set null to the gameobject member, for reset reference count to zero;
Then I use coroutine to wait to next frame, and use assetBundle.unload(false) to unload everything unuse.
when I check the profilier, the gameobject I loaded from assetbundle, still exists.
how can I extactly unload this unuse loaded prefab gameobject?
Your answer
Follow this Question
Related Questions
"Trying to reload asset from disk that is not stored on disk" ? 0 Answers
assetBundle memory can not be free 0 Answers
PreloadData is missing. It should always be there. 1 Answer
unity3d Network Instantiate from Assetbundle 0 Answers
Animations are not playing when prefebs are loaded using asset bundle in Unity 5.3 1 Answer