Jump to content

Troubleshooting spawn build and run


Guidos
 Share

Recommended Posts

Hi,

Im using the Alpine Meadow Biome to spawn part of my island. 

At another point I have dragged in a palm tree from a supplier in the asset store.

At this point I can build and run the app.

If I add the same palm tree as a spawner in a custom biome, the app opens but just flickers.

Do you have any suggestions as to how I can troubleshoot this ? 

So basically I want to identify what setting or file / asset cases the build to fail if deployed using the Gaia Biome spawner.

Thanks

Link to comment
Share on other sites

If you have boiled it down to the palm tree already, then it is most likely a custom shader on the tree causing this. A potential difference between dragging the tree into the scene and adding it via the spawner is that the spawner can spawn this as part of the terrain tree system, whereas dragging the tree into the scene would place it as a game object.
The terrain tree system has some restrictions as to how the tree model needs to be created for it to display properly, I could also imagine there is some issue with it on android when used as terrain tree for some reason.
Can you test this theory by not creating a Gaia spawner with the palm tree, but instead setting up the tree as terrain tree manually in the terrain inspector and painting it on the terrain? 
image.png

If it then shows the same flickering my theory might be right that there is an issue with this asset when being used as terrain tree.

  • Like 1
Link to comment
Share on other sites

Thank you. I'll check that out now.

But yes, Ive just discovered that If I spawn with the palm tree as a game object, then untick the spawner, then build and run, it runs successfully inc the palm tree in the spawner. 

  • Like 1
Link to comment
Share on other sites

Ok that strengthens the theory that the asset creates an issue when being used in the terrain tree system.  (Spawning as Game Object with Gaia is similar to dragging the object in the scene manually from a technical perspective). If spawning as Game Object works for you, you could use that as a workaround, if you want to use the terrain tree system you would need to dig further to find out which aspect of the tree prefab does not make it work in the terrain tree system.

Link to comment
Share on other sites

Yes, will do thank you. Ive passed this thread across to the asset developer also.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Tell a friend

    Love Unity 3D World & Game Creation Tools - Canopy - Procedural Worlds? Tell a friend!
  • Interesting Articles

    1. 0

      Different layers are being combined together.

    2. 42

      GeNa Pro City Generator

    3. 1

      World Creator + Gaia

    4. 1

      Gena decorator??

    5. 1

      Objects spawning at unexpected position in segmented scene.

×
×
  • Create New...