Unity 3D: Not rendering camera when using Unity as library on Android Studio

Unity 3D: Not rendering camera when using Unity as library on Android Studio



I've successfully imported a project from unity to Android by importing the AAR. However my Camera feed is not rendering and the rest of the app functions properly.



I'm trying to integrate Mapbox AR Unity to my Android app. The app opens but camera does not. I'm getting this error code in my Android studio logcat on running the app:


(Filename: C Line: 0)
08-23 14:42:48.575 15689-15721/? E/Unity: DllNotFoundException: arcore_unity_api
at (wrapper managed-to-native) GoogleARCoreInternal.LifecycleManager/ExternApi:ArCoreUnity_setArPrestoInitialized (GoogleARCoreInternal.LifecycleManager/EarlyUpdateCallback)
at GoogleARCoreInternal.LifecycleManager._Initialize () [0x00019] in C:UsersTarakDocumentsMapboxtoAndroidAssetsGoogleARCoreSDKScriptsManagersLifecycleManager.cs:223
at GoogleARCoreInternal.LifecycleManager..cctor () [0x00010] in C:UsersTarakDocumentsMapboxtoAndroidAssetsGoogleARCoreSDKScriptsManagersLifecycleManager.cs:58
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for GoogleARCoreInternal.LifecycleManager
at GoogleARCore.ARCoreSession.Awake () [0x00001] in C:UsersTarakDocumentsMapboxtoAndroidAssetsGoogleARCoreSDKScriptsARCoreSession.cs:42

(Filename: C Line: 0)
08-23 14:42:48.586 15689-15721/? I/Unity: has extra
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object)
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
FromAndroid:Update() (at C:UsersTarakDocumentsMapboxtoAndroidAssetsFromAndroid.cs:27)



Here's a Github issue link I raised but didn't get a good reply from Mapbox.
https://github.com/mapbox/mapbox-unity-sdk/issues/977









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)