Search Unity

GameObject Tags not working when deployed to Hololens or Emulator

Discussion in 'VR' started by kiron46, Jun 20, 2016.

  1. kiron46

    kiron46

    Joined:
    Mar 4, 2015
    Posts:
    7
    Hi all,

    I have a game object that scans the game world for enemies with the tag Enemy, but when it plays in the Emulator, it returns the exception that tag <Enemy> is undefined. On the Hololens device, nothing happens because it can't find objects with a tag. I tried rebuilding the entire enemy prefab and assigning it the tag Enemy again, but it did not work.

    This all works perfectly normal in the Unity editor. I'm going to find an alternate solution, but has anyone experienced this problem before?

    I can post screenshots if it would help find a solution.
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    Could you please report a Unity Bug for this issue with a working repro project so we can see what is happening?

    Thank you,
    Wesley