Hello friends !
I have been studying ABS recently, It is a good system, The system automatically manages the loading and unloading of bundles, But When does it start unload the bundles(which reference num=0)? I have read the code but fail,so I have a few thoughts:
1). Every time we delete an object (ReleaseInstance()), in a bundle(A) all assets referenceNum was 0,So the system has determined that A can be unloaded; I have try to checkout it,first I InstantiateAsync(a) it tasks 53.02ms, then ReleaseInstance(A) and wait for few times late InstanceAsync(a) it tasks 5.31ms , So I believe the bundle was not unload immediately when the bundle
s referenceNum is 0;
2). The ABS have set an fixed time intervals T,and check once each T,some bundle (referenceNum = 0) will be unload.
The above is just my guess, seek the truth !