Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

GameObject Tags not working when deployed to Hololens or Emulator

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

  1. kiron46


    Mar 4, 2015
    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 Technologies

    Sep 17, 2015

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

    Thank you,