Log in or register to post comments

Too shlow when loading ARCamera from loading scenes

June 20, 2016 - 1:57am #1

It's too slow when loading ARCamera scene from the loading scene, just like freeze, in android and the version is 5-5-9. This problem also appear in sample.And it's better in iphone.

How to fix it?

AttachmentSize
Image icon 123.png8.85 KB

Too shlow when loading ARCamera from loading scenes

June 15, 2018 - 7:46pm #8

same problem.

any news?

Too shlow when loading ARCamera from loading scenes

June 4, 2018 - 1:16pm #7

Did anyone find a workaround for this?

Too shlow when loading ARCamera from loading scenes

November 5, 2016 - 7:13pm #6

I am seeing the same issue.. AR camera is taking very long to load! and seeing the same Freeze as mentioned below. Anyone have a fix to this? Someone mentioned the  backgroundLoadingPriority... would this do it?

Too shlow when loading ARCamera from loading scenes

September 6, 2016 - 6:15pm #5

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

June 23, 2016 - 4:23am #4

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

June 23, 2016 - 1:21am #3

I do not mean loading time is too long,  I mean, in loading scene the loading animation began as normal, but then stopped, and the stop time is too long, just like freeze, after the stop time app go to the ARCamera scene.

Too shlow when loading ARCamera from loading scenes

June 21, 2016 - 6:44am #2

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

 

 

 

Log in or register to post comments