title: Activating Inactive Same-Name Different-Tag Game Objects
body: <p>For some reason, I cannot change the name of a game object (an avatar) but I need to have 2 different versions of it and activate them in code.</p>
  
  <p>So, duplicating the avatar is not an option, but I still need to create an identical one and make a change in editor mode, so that based on a condition, whether <strong>one</strong> or <strong>the other</strong> is chosen.</p>
  
  <p>It occurred to me, now that changing the name is not possible, perhaps I can give <strong>the other</strong> a different <strong>tag</strong> and activate the right one based on the selected scenario.</p>
  
  <p>So, I checked out a few manual docs and some forum posts and came up with the following 3 alternatives to place in my <code>Start()</code> but none works:</p>
  
  <pre><code>void Start()
  {
      if ( GameObject.FindGameObjectWithTag("John") )
          gameObject.FindGameObjectWithTag("John").SetActive(true);
  
      if ( GameObject.FindWithTag("John") )
          gameObject.FindWithTag("John").SetActive(true);
  }
  </code></pre>
  
  <p>Can someone please help me understand what I am doing wrong and how I can achieve this: <strong>find an object that is not active</strong> (<strong>from among 2 inactive objects with the same name but different tags</strong>: one <code>untagged</code> and the other tagged as, say, <code>John</code>)</p>