List
Can't add 3dmap to ObjectTrackable
Posted Date: 2019-10-23 4:09     Edited Date: 2020-11-10 17:36     Writer: inactive

Please provide your development details as below;

1. SDK Version: 4.1.4
2. Development Environment: Unity-Android
3. Tracker/Scanner: Object tracking
4. License Type(Free ):
5. Target Device(Optional):

The 3dmap file is created using Galaxy Tab S3.

When I drag/drop the 3dmap file from streamingassets/MaxstAR/ to ObjectTrackable the error popup shows 2 times if I click cancel button:

Unity console shows:

DllNotFoundException: MaxstAR
maxstAR.MapViewer.Deinitialize () (at Assets/MaxstAR/Script/Wrapper/MapViewer.cs:38)
maxstAR.AbstractMapViewerBehaviour.ReadMap (System.String fileName) (at Assets/MaxstAR/Script/Wrapper/AbstractMapViewerBehaviour.cs:129)
maxstAR.AbstractMapViewerBehaviour.Load (System.String fileName) (at Assets/MaxstAR/Script/Wrapper/AbstractMapViewerBehaviour.cs:100)
maxstAR.ObjectTrackableEditor.Load (System.String fileName) (at Assets/MaxstAR/Editor/ObjectTrackableEditor.cs:27)
maxstAR.ObjectTrackableEditor.OnInspectorGUI () (at Assets/MaxstAR/Editor/ObjectTrackableEditor.cs:97)
UnityEditor.UIElements.InspectorElement+<CreateIMGUIInspectorFromEditor>c__AnonStorey1.<>m__0 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:501)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
 

Posted Date: 2019-10-24 0:37     Edited Date: 2019-10-24 0:37     Writer: inactive

The 3dmap file is where you place your 3dmap file in a component called ObjectTrackable's Object Trackable Behavior. Drag it to that location.

 

Leo

Maxst Support Team

Posted Date: 2019-10-24 0:44     Edited Date: 2019-10-24 0:44     Writer: inactive

Yes, the error happens when I drag it to that location.

Posted Date: 2019-10-24 2:03     Edited Date: 2019-10-24 2:04     Writer: inactive

BTW, my unity version is 2019.2.9f1 on iMac

Is this the reason?

Thanks

Posted Date: 2019-10-25 2:18     Edited Date: 2019-10-25 2:18     Writer: inactive

I think the problem is SDK 4.1.4 unity package is not working on Unity2019.2.9f1 (iMac).

DllNotFoundException: MaxstAR

This error is happening for every scene in MaxstARSample folder.

Posted Date: 2019-10-28 7:30     Edited Date: 2019-10-28 7:30     Writer: inactive

Are you getting dllNotFound error in every scene?

 

Leo

Maxst Support Team

Posted Date: 2019-10-29 2:02     Edited Date: 2019-10-29 2:02     Writer: inactive

Yes, in every scene as mentioned in the previous post: 

"This error is happening for every scene in MaxstARSample folder."

Posted Date: 2019-10-31 2:46     Edited Date: 2019-10-31 2:46     Writer: inactive

Well, the MAXST SDK 4.1.x and the UNITY 2019 version that I have used so far is compatible without any problems. And in UNITY 2019.2.9f1 you mentioned, I just tested it but it works fine. Is your environment up-to-date with older SDKs? And is the code you used the sample code we provide? Or did you modify the code a bit?

 

Leo

Maxst Support Team

Posted Date: 2019-10-31 3:11     Edited Date: 2019-10-31 3:11     Writer: inactive

Hi Leo

Here are my steps:

1. My environment is unity 2019.2.9f1 on iMac.

2. I created an empty project and import Maxst SDK 4.1.4.

3. The error happens when I run any example scenes from Maxst example folder.

 

What else would you suggest me to try out?

Thanks,

Laurence

Posted Date: 2019-10-31 8:04     Edited Date: 2019-10-31 8:04     Writer: inactive

One thought: is it because of iMac? 

:-)

Posted Date: 2019-10-31 9:55     Edited Date: 2019-10-31 9:55     Writer: inactive

MacOS Catalina 10.15.1 (19B88)

Posted Date: 2019-11-01 5:40     Edited Date: 2019-11-01 5:40     Writer: inactive

Hello jijunzhang.

I just imported and ran the Unity package in the environment you talked about (iMac, Unity 2019.2.9f1, MAXST SDK 4.1.4) and it worked.

The project seems to have been damaged when importing a Unity package, please try importing the package again.

Thank you.

 

Leo

Maxst Support Team.

Posted Date: 2019-11-01 6:14     Edited Date: 2019-11-01 6:14     Writer: inactive

xattr -cr /.../Assets/Plugins/MaxstAR.bundle

 

This command fixed the error.

 

Thanks for your help, Leo

Posted Date: 2019-11-01 9:35     Edited Date: 2019-11-01 9:35     Writer: admin

I'm glad it's been resolved. Good luck.

 

Leo

Maxst Support Team

Posted Date: 2019-12-04 3:40     Edited Date: 2019-12-04 3:40     Writer: inactive

thanks for your advice.

Posted Date: 2020-11-10 17:36     Edited Date: 2020-11-10 17:36     Writer: inactive

I'm having this exact same problem, but in Ubuntu 18.04.4,  Unity 2019.4.3.f1 and MAXSTARSDK_Unity_5.0.2, I tried to do the  xattr thing, but  I don't know what's que equivalent for Ubuntu, any ideas?

 

Thank you in advance

Sweet