Search Unity

Ground Plane Stage child objects always visible

Discussion in 'Vuforia' started by Section-One, Jan 19, 2018.

  1. Section-One

    Section-One

    Joined:
    Sep 8, 2014
    Posts:
    81
    When I used Image Target before, the game object was disabled and when the image was tracked, it was enabled and all children became visible.

    Now that I switched to Ground Plane Stage, all of the child objects are always visible before I tap the screen. And after I tap they are visible in addition to the new instanced child objects.

    What am I doing wrong?
     
  2. Section-One

    Section-One

    Joined:
    Sep 8, 2014
    Posts:
    81
    Well, switching to Vuforia's "DeployStageOnce" plane finder script seems to have solved my issue.
     
    Vuforia-Strasza likes this.
  3. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
    The instantiated object should be a prefab, not a GameObject on the scene... Then you'll see only the new instanced...
    But if you want to have only one, DeployStageOnce is the solution.
     
  4. kimardamina

    kimardamina

    Joined:
    Feb 13, 2014
    Posts:
    11
    Hi De,
    so when i make it as a prefab, so on which script do i attach it for it to instantiate?
     
  5. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589
  6. nathanedot

    nathanedot

    Joined:
    Mar 27, 2018
    Posts:
    4
    @De-Panther I was downloading a 3D model using asset bundle via a script. Can you please guide me on how to attach this downloaded 3D model to the Ground Plane Stage?
     
  7. prabhuperiyandavar

    prabhuperiyandavar

    Joined:
    Nov 15, 2017
    Posts:
    2
    directly drag the object into the Ground plane stage and make the object its child