- Home /
iOS - Resources.LoadAsync is VERY slow on older iPads
Hello,
I'm using Resources.LoadAsync to load in prefabs (parts of scenery) at runtime, essentially like 'sub-scenes'.
This method works very well, and loads super fast on my iPhone 6, it takes about 0.5 seconds to load in the prefab from Resource and to then convert into GameObject asset for the scene.
However, on older devices, such as the iPad 3 - it takes about 12 seconds to load in that Prefab from Resource. What would be the reason for this?
The Prefabs (From Resource)
The prefabs are basically chunks of scenery, with mesh, textures and scripts. These are saved into my Resource folder, and then I use script to load it in dynamically when requested:
request = Resources.LoadAsync( "_SteamingPrefabs/" + GetPrefabName(s), GameObject );
if(request == null){
Debug.LogError("[SERIAL] Request is NULL");
return;
}
while(request.isDone == false){
var _f : float = request.progress * 100;
print("Loading: " + request.progress * 100 + "%");
progressWheel.SetPercentage( _f );
yield WaitForEndOfFrame();
}
It's the actual loading of the resource that takes a long time.
iPad 3 Spec
1 GHz Dual-Core ARM Cortex-A9
1 GB Ram
Apple A5X
So why is this? Is there any way I can speed this up?
Your answer
Follow this Question
Related Questions
Level load times are off the chart unacceptable 1 Answer
Hiccups when loading images from resources folder 1 Answer
How do I get a list of filenames in a Resources folder? 6 Answers
Resources.LoadAsync() loads only one resources in the background? 0 Answers
Resources.Load wont read text file 6 Answers