"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Image Target Loading Times IL2CPP Andriod

Hi,

We have build an APP that is nearing deployment that was building using Unity. Based on the new Google Play  store guidelines we had to switch from Mono to IL2CPP to all us to make 64-bit builds for Android. In doing so we have noticed heavy drop in performance during the loading process of Image Targets when a scene loads.

We have about 500 Image Targets, while running the build in Mono the average loading time is about 4-5 seconds, but on doing the same with IL2CPP the loading times jumps 5 times to more than 20 seconds. While checking the application in logcat, we noticed that during the 'loading' time of 20 seconds we are seeing log messages of Image Targets being loaded. Once all loaded the App becomes responsive again.

We are at the release stage and have not much understanding of why this change is performance between build targets. Considering the strict release deadlines we are in, any help on this would be greatly appreciated.

 

 

Tech Parameters.

Unity 2018.3.8f1

Vuforia 8.1.10

Hi,

The behavior is, you start the app and then it freezes for 15-20 seconds until the DataSets are loaded. afterwards the app is responsive, is my understanding correct?

Hi,

I *was* able to reproduce the issue with 8.6.7 and reported it to the dev team.

devimagimake

Mon, 02/10/2020 - 06:58

In reply to by mcotora

Hi mcotora,

 

Thanks for acknowledging the issue that we have highlighted. Hope there is a technical solution identified for it soon.

Hi @mcotora

Do we have any kind of update on this ?

 

Thanks,

Krishna.

Hi,

R&D is still looking into this issue, I do not know if this will be fixed in the our next release, Vuforia 9, planned for mid March.

Thank you for your understanding.

Vuforia Engine Support

devimagimake

Fri, 02/28/2020 - 05:45

In reply to by mcotora

Thanks for the feedback. 

I am not sure if we can wait that long for a release.

Would there be a way to check the progress of image targets that are being loaded so that at least I can show progression in loading of data ?

 

Hi,

Could you please send me VuforiaConfiguration.asset file?

Thank you.

Vuforia Engine Support

devimagimake

Tue, 03/03/2020 - 05:51

In reply to by mcotora

Hi mcotora,

 

Can you provide me with a Email that I can send it to, since it contains the Basic license that I have bought.

 

Hi,

Please dm me a download link with the asset file or open the file with a text editor delete the License info and upload it here.

Thank you for your understanding.

Vuforia Engine Support

devimagimake

Tue, 03/03/2020 - 12:07

In reply to by mcotora

Hi mcotora

Attaching config file as requested. Do let us know how to proceed, we are at the final deployment stage. A quick turn around would be greatly appreciated.

Hi,

I've checked the eulaAcceptedVersions: '{"Values":["7.1","7.5","8.0","8.1"]}' and it includes 8.1. 

Hi,

The code example is quite old BUT seems to be fine.

If you are following the steps recommended in your link but you are still seeing this error. We would need to debug and check following:

devimagimake

Fri, 03/06/2020 - 19:41

In reply to by mcotora

Hi mcotora,

Let me list out the steps that I am taking and if you can validate If I am doing it right it might help.

1. The very first scene I load is an empty scene that has just one image in it and a script that loads the XML/DAT file from the OBB file.

Hi,

In regards to the other issue with ILCPP ARM64, I believe we identified the culprit. It seems that Unity has some problems with ARM64 and logging of Debug.Log messages.

devimagimake

Sat, 03/07/2020 - 09:41

Hi mcotora,

I felt may be there could be something not properly setup in my project so decided to do the same test in new project with Vuforia Core Samples project.

I used the Unity 2018.3.8f1 with Vuforia 8.1.10.

I did the following to do the OBB file loading test.

Hi,

Please provide the mentioned test project with core samples for testing.

Thank you.

Vuforia Engine Support

 

devimagimake

Sun, 04/12/2020 - 09:54

In reply to by mcotora

Apologies for not replying quicker.

After a few combination of try outs following has been my observation. I have not got enough time to validate it in detail but has allowed me to move ahead with my deployment.

 

Hi,

The first reported issue regarding ILCPP x64 almost doubling the load time of big IT, in comparison to Mono,  has been fixed in the new upcoming release. 

Thank you.

Vuforia Engine Support