- Sort Posts
- 7 replies
- Last post
Too shlow when loading ARCamera from loading scenes
Too shlow when loading ARCamera from loading scenes
Too shlow when loading ARCamera from loading scenes
Hi AlessandroB, I've met the same slow situation.
Tested with Huawei mates with Hisilicon Kirin935,
From a scene without vuforia to a scene with vuforia (only with ARCamera object),
transition will need 4~6 seconds (completely freeze) for the first time.
2rd time only 1 second freeze.
No other resource in this scene, so only ARCamera freezes the scene.
Loadlevelasync also does not help anything.
How can we solve this freezing behavior in a normal-end mobile phone?
We also test with normal android camera without AR, almost no freeze(<0.5second) is detected in the same transition.
Too shlow when loading ARCamera from loading scenes
I see, you are referring to the progress spinner animation.
The progress spinner may appear temporarily "frozen" (i.e. not animated) while loading probably due to the high CPU load. But that does not mean the app gets frozen, it's just that the progress spinner animation may suffer some sort of "hiccup".
You can tweak the sample code that animates the progress spinner in the LoadingScreen.cs script, located under the Assets/Common/ folder. In particular, you may want to play with the line of code that sets the backgroundLoadingPriority. See:
https://docs.unity3d.com/ScriptReference/Application-backgroundLoadingPriority.html
Too shlow when loading ARCamera from loading scenes
Too shlow when loading ARCamera from loading scenes
Hi,
the loading time largely depends the processing capabilities of your device (CPU mainly), and may increase with the size of the Dataset you want to load. Additionally, any other assets you have in your Unity scene (e.g. textures, 3D models, ...) will also have an impact on loading time.
For example, using the Image Targets sample app of Vuforia 5.5.9 (built with Unity 5.2.4), with the StonesAndChips dataset, I get these numbers:
- Galaxy SIII mini, Android 4.2 (low-end device): ~9 seconds
- Galaxy S6, Android 6.0.1 (hi-end device): ~1.5 - 2 seconds
same problem.
any news?