- Issue category: Unity Example Package
- Device type & OS version: Samsung Galaxy S21 with Android 11 installed targeting Android 10.0 (API level 29)
- Host machine & OS version: Windows 10
- Issue Environment : Unity Mock / On Device
- ARDK version: 1.1.0
- Unity version: 2022.1.0a16
Description of the issue:
Image detection example shows “Toggle Log”, “Enable Yeti Image”, “Enable Code Created Manager” and “Disable Inspector Created Manager” buttons with a black background screen.
Steps to reproduce:
-
Open Unity Hub and create a new project from the “3D” template.
-
In Unity Editor open build settings and switch platform to Android.
-
Open player settings, turn off Auto Graphics API and remove Vulkan from the list, such that only OpenGles3 remains.
-
Scroll down and set minimum API level to Android 7.0 ‘Nougat’ (API level 24).
-
Set Target API level to Android 10.0 (API level 29).
-
Set scripting backend to IL2CPP.
-
Under target architectures, turn off ARMv7 and turn on ARM64.
-
Import custom package “ardk-1.1.0.unitypackage” and click “Yes, just for these files” in the Script Updating Consent pop up window.
-
Import custom package “ardk-examples-1.1.0.unitypackage”.
-
Close Unity Editor, open Unity Hub and open the newly created project which was created in step 1.
-
Add ARDK_MockWorld layer.
-
In the project panel go to Assets > ARDKExamples > Image Detection and open the ImageDetection.unity scene file.
-
In Unity Editor open build settings and switch platform to Android.
-
Make sure the device is set to Developer Mode with USB Debugging turned on.
-
Connect the device to the computer via USB and verify at “Run Device” that it is detected in the build settings.
-
In Unity Editor choose Build And Run and click “Yes, just for these files” in the Script Updating Consent pop up window…