Marker not working properly in ARtoolkit in Unity

南楼画角 提交于 2020-01-07 02:55:26

问题


I am working on a simple AR project using Unity and ARToolkit. For testing purposes, I have created a test project to track the image and create a simple 3d sphere and it is working perfectly when I play it from inside the Unity editor. The problem is that when I create the build .exe of the project, the application does not augment the 3D model of the marker when I put the marker in front of Camera (it should work as it is working when playing from inside the editor). It is also showing two errors as I build the project. Note that I have included the .dll files in the folder where .exe file is located.

Also I see that after building the project, the UID of the marker disappears as well as it is showing perfectly when played from inside the Unity Editor.

Kindly guide me in this matter as I have to submit this project to the university final year project. ThankYou


回答1:


several things on this:

  • the disappearing of the marker ID during the build of the APP is normal and does not affect your result
  • Please check if you have selected the correct scene when building your APP:

Build view

select the "Add open scenes" button and tick the scene(s) you would like to include in your APP.

(It happens quite often that the wrong scene is picked)

  • Also ensure that you are copying the correct versions of the dlls (32bit vs. 64bit) but if you copied the ones from the [appname]_data/Plugins directory you should be fine.

Let me know if that works for you.



来源:https://stackoverflow.com/questions/37714066/marker-not-working-properly-in-artoolkit-in-unity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!