Closed Bimod closed 4 years ago
It might be useful to get the logging messages from the Unity Console. You can switch to the android player after starting the app.
BTW, your screen shot is interesting... did you scrub your camera output for privacy or is it actually not there?
Attached the log from the Console. I just block the camera for privacy reasons (my room is a mess). the camera output works.
Thanks @Bimod,
It looks like Unity isn't finding the DLL, so there's some sort of issue building. Since you are on 2020, you might try the instructions for 2019.3 here: https://github.com/Azure/azure-spatial-anchors-samples/issues/149.
Since I am using th ARFoundation and ARCore 4.0.0 Packages, the scripts got updated and replaced already. Also the Android gradle script is updated with the correct Version number
I got 2020.1 installed. I let Unity update the sample project from 2019.3 to 2020.1. I was surprised, but it mostly just worked. I do need to figure out how to get arfoundation 4.0 to show up as an option in the package manager so I can be closer to your environment. You might try arfoundation 3.1, in case arfoundation 4.0 has broken a dependency our library relied upon.
Sorry for the late reply. So i tried it again with Unity Version 2020.1. and ARFoundation 3.1.3 as well as ARCore 3.1.3 and still get shown an error message in the application and editor. Please find attached.
are you using Unity Remote?
yes i tried also the Unity Remote. But since the error comes directly after pressing play, Unity Remote never starts the actual game. The editor stops the playmode directly after pressing play. With the error message shown in the previous comment
The next step might be to export the project to android studio and build from android studio.
do you see a message like this: i>AndroidPlayer(ADB@127.0.0.1:34999)</i Failed to load native plugin: Unable to load library /lib/arm/libazurespatialanchorsndk.so', error 'java.lang.UnsatisfiedLinkError: dlopen failed: library "libarcore_sdk_c.so" not found'?
I just hit this. My phone has updated and I just updated android studio.
Can you check to see if you have the ARCore plugin provider enabled? I'm not sure what might have unchecked that box in my project, but it was unchecked.
Also, if you dir /s *.so from the 'temp' folder in the unity project, you should see that libarcore_sdk_c.so is sitting next to libazurespatialanchorsndk.so
Hey, i build the app withAndroid Studio and it worked actually. I could save the anchor and reload it. I also check the temp folder and i see the libarcore_sdk_c.so.
@Bimod, is this issue resolved with @darax's suggestion?
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Hello, im using the sample Scene for Android. Unfortunatly the apps throws some errors and does not save the Anchor into the cloud. I can place the anchor but after scanning it and reaching the 100% the app shows an error. Attached some of the errors that are shown.