Log in or register to post comments

Long time initialization

December 25, 2018 - 12:54am #7

Hello

Vuforia had long time initialize. About 12 second on Android. But on IOS start about few second.

Mobile: Xiaomi 5 plus

Vuforia 6.5.25

Unity 2017.2.3f1

Database: 45 markers.

Debug log in Android studio:

12-25 11:39:45.223 32698-1895t D/Vuforia: Initializing Vuforia...

12-25 11:39:45.226 32698-1895/System.out: Native library libVuforia.so loaded

12-25 11:39:45.326 32698-1895/lv.lattelecom.manslattelecom_demo.development I/AR: Vuforia selected rendering API OpenGL ES 3.x

    Vuforia SDK version 6.5.25

12-25 11:39:46.614 32698-1895 CameraManagerGlobal: Connecting to camera service

12-25 11:39:46.934 32698-32703 art: Do full code cache collection, code=495KB, data=501KB

12-25 11:39:46.935 32698-32703 art: Starting a blocking GC JitCodeCache

12-25 11:39:46.936 32698-32703 art: After code cache collection, code=475KB, data=422KB

12-25 11:39:47.463 32698-1895 AR: RenderManager: Could not retrieve a valid GLSurfaceView in view hierarchy, therefore cannot set any render mode

12-25 11:39:47.605 32698-2531 D/AudioTrack: Client defaulted notificationFrames to 706 for frameCount 2120

12-25 11:39:48.513 32698-1895 E/AR: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

12-25 11:39:49.172 32698-1895 D/Vuforia: cameraDeviceStartCamera

12-25 11:39:49.319 32698-1895 E/AR: VideoBackgroundConfig with screen size of zero received, skipping config step

12-25 11:39:57.117 32698-1895E/AR: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

12-25 11:39:57.460 32698-1895 D/Vuforia: cameraDeviceStartCamera

I tried to change count of marker but this not reduce loading time. New version Unity 2018.3 load as the 2017.2.3. How we can load vuforia fastly? 

Long time initialization

January 2, 2019 - 1:08pm #6

Hello,

Vuforia Engine 7.2 has made some changes to the initialization process that may impact the flow of your application. The default initialization behavior of Vuforia Engine 7.2 is to download the latest device profile in order to deliver the best experience on the device.  Depending on the speed of the user's internet, this could add several seconds to application load. This only occurs the very first time the user launches the app and will not impact application loading in future launches of the app.

It is strongly recommended to allow the Vuforia Engine to fetch the latest device profile. Developers looking to disable this behavior should set the following hint before initializing Vuforia: VuforiaUnity.SetHint(VuforiaHint.HINT_ASYNC_FETCH_OF_LATEST_CALIBRATION, 1);

Native migration guide: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/how-migrate-vuforia-7_2.html

Unity migration guide: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/How-To-Migrate-a-Unity-Project.html

Thanks,

Vuforia Engine Support

Long time initialization

January 9, 2019 - 3:25am #5

Hello.

I tried to use Vuforia 7.5.26 and still long loading. About 8-9 sec. How I can speed up loading process?

Long time initialization

January 10, 2019 - 1:06pm #4

Hello @bellintegrator,

medabit wrote:

Developers looking to disable this behavior should set the following hint before initializing Vuforia: VuforiaUnity.SetHint(VuforiaHint.HINT_ASYNC_FETCH_OF_LATEST_CALIBRATION, 1);

Thanks,

Vuforia Engine Support

Long time initialization

January 11, 2019 - 10:28am #3

I set this code to Awake and it started before Vuforia initialize and loading takes still about 9 sec.

 

Unity 2018.2.13

Vuforia 7.2.23

Long time initialization

February 19, 2019 - 12:45am #2

It takes too much time (almost 10 seconds) to initialize in iOS. I am using Vuforia 8.0.10 and Unity Version 2018.3.5f1. Does anyone have solution for the same ??

Long time initialization

February 19, 2019 - 11:02am #1

Hello @happyhourwine,

medabit wrote:

Developers looking to disable this behavior should set the following hint before initializing Vuforia: VuforiaUnity.SetHint(VuforiaHint.HINT_ASYNC_FETCH_OF_LATEST_CALIBRATION, 1);

Native migration guide: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/how-migrate-vuforia-7_2.html

Unity migration guide: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/How-To-Migrate-a-Unity-Project.html

Thanks,

Vuforia Engine Support

Log in or register to post comments