Gameobject not destroying when image target lost vuforia- Hololens

旧巷老猫 提交于 2019-12-11 08:48:11

问题


Im developing an AR application with vuforia and unity for hololens . I have some canvas components which have to be destroyed when image target is lost . Im using defaulttrackableeventhandler to destroy those object with gameobject.setactive(false); in tracking lost function. The very same app works well with android phone but not with hololens When built for UWP , the gameobject is not destroying even in play mode. Its destroying twice and stays static on the third time and when viewed in hololens , the canvas is not even disabling . Any fix for this ?


回答1:


Solved it .. Turns out extended tracking was switched on by default , had to turn this off .



来源:https://stackoverflow.com/questions/52584824/gameobject-not-destroying-when-image-target-lost-vuforia-hololens

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