UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

Android - Crash on launch because of AR Core Session Config file

Open philmaas opened this issue 8 years ago • 2 comments

I'd assume this plugin would be working on android too right? unfortunately, my app crashes on launch after the splash screen. Not sure how to find out whats causing this, but it is definitely the plugin. I build for release from visual studio with no errors. And it is working in the editor.

philmaas avatar Sep 11 '18 12:09 philmaas

ok sorry, it works in general, however my crash is somehow related to the AR Core session config file ? Trying to investigate. I can have a camera with the session script on it, but when I put a reference to the defaultsessionconfig in there the app crashes on launch.

the same scene with a default session config from AR core works on android, once I delete all GLTF plugins and folders. very weird

philmaas avatar Sep 11 '18 16:09 philmaas

this seems to be resolved using the json .dll from this package instead of the one from the build, in case anyone encounters this issue. Working on ios and android now. A il2cpp compiler error on ios gave me the hint, that the issues might be with the newtonsoft.json.dll https://assetstore.unity.com/packages/tools/input-management/json-net-for-unity-11347

philmaas avatar Sep 12 '18 11:09 philmaas