Search code examples
unity-game-engineaugmented-realityvuforiahololenswindows-mixed-reality

Gameobject not destroying when image target lost vuforia- Hololens


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 ?


Solution

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