Log in or register to post comments

Vuforia black screen when compiling for Android ARM64 IL2CPP

February 1, 2019 - 7:25am #1

Hi,

I've noticed the camera AR from Vuforia show always a black screen when ARM64 is set in Build Settings into Unity. Evrything works fine when ARMv7 is checked.

There is clearly a bug with ARM64 IL2CPP compiling mode with Vuforia / Unity. I'm using Vuforia 8.0.10 with Unity 2018.3.3 on Windows 10. I have download the last samples from the asset store (which bring also black screen when ARM64 is checked).

I have made the test with 3 different phones, Sony XPERA XA2, Samsung A5 2017 and Huawei with Android 8.0. The problem is exactly the same on the 3 phones. A clue is there is not request authorization at the app launch for the camera use when ARM64 is checked but there is the request when ARMv7 is checked. It seems there is a problem whith request authorizations when ARM64 is selected.

In August 2019, we won't have the choice, ARM64 will be our only choice to publish Android app on the Google Play Store. ARMv7 and Mono apps will be rejected by Google. Can you please see what is the problem ?

 

By the way, I have made a test with the following trick:

https://docs.unity3d.com/Manual/android-RequestingPermissions.html

Replacing Microphone in the example with Camera, Android is correctly asking me my authorization to use the camera but the screen stays black once the AR scene is loaded. The only thing wich works is to change ARM64 to ARMv7.

Thanks,

 

Pierre

Vuforia black screen when compiling for Android ARM64 IL2CPP

May 9, 2019 - 4:04pm #4

Hello,

Please note that support for Android arm64 has been added to the Vuforia Engine Unity Extension with v8.1.7.

https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html

Thanks,

Vuforia Engine Support

Vuforia black screen when compiling for Android ARM64 IL2CPP

May 9, 2019 - 3:20pm #3

pgibouin wrote:

Hi,

I've noticed the camera AR from Vuforia show always a black screen when ARM64 is set in Build Settings into Unity. Evrything works fine when ARMv7 is checked.

There is clearly a bug with ARM64 IL2CPP compiling mode with Vuforia / Unity. I'm using Vuforia 8.0.10 with Unity 2018.3.3 on Windows 10. I have download the last samples from the asset store (which bring also black screen when ARM64 is checked).

I have made the test with 3 different phones, Sony XPERA XA2, Samsung A5 2017 and Huawei with Android 8.0. The problem is exactly the same on the 3 phones. A clue is there is not request authorization at the app launch for the camera use when ARM64 is checked but there is the request when ARMv7 is checked. It seems there is a problem whith request authorizations when ARM64 is selected.

In August 2019, we won't have the choice, ARM64 will be our only choice to publish Android app on the Google Play Store. ARMv7 and Mono apps will be rejected by Google. Can you please see what is the problem ?

 

By the way, I have made a test with the following trick:

https://docs.unity3d.com/Manual/android-RequestingPermissions.html

Replacing Microphone in the example with Camera, Android is correctly asking me my authorization to use the camera but the screen stays black once the AR scene is loaded. The only thing wich works is to change ARM64 to ARMv7.

Thanks,

 

Pierre

 

I have the same exact problem. I can export it in 32 bit and it works as an apk, but I can't publish it to Play Store because of the 32bit architecture restriction

Vuforia black screen when compiling for Android ARM64 IL2CPP

February 4, 2019 - 1:26pm #2

Hello,

Vuforia Engine 8.0 SDK does not support 64-bit Android builds in Unity at this time.

The team is aware of Google's upcoming deadline and is working hard to provide support in a near-term release.

Thanks,

Vuforia Engine Support

Log in or register to post comments