问题
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