Jump to content

Bug? - Clearing spawners


Recommended Posts

I have 2 spawners setup for trees. Spawner A and Spawner B. They both share the same tree prefabs.  They both have:


Clear the following - Trees ticked

From: Only this spawner

For: All Terrains


When i click "Clear Spawns now" on Spawner A, it is removing trees on the terrain placed by Spawner B. Is this a bug ?


Link to comment
Share on other sites

No, it wouldn't be, as you use the same prefab. 
If you want them to act separately, you would need to create a prefab variant of the tree. 

Link to comment
Share on other sites

Thanks for confirming, although i think the "From: Only this spawner" is confusing in this instance. For anyone else having this issue, my work around was to generate the trees in order with "Add" instead of "Replace" for the "Spawn Mode". it does mean that you will clear both sets of trees and have to re-generate both if you want to make any tweaks but not a major problem.

  • Like 1
Link to comment
Share on other sites

Yeah, using the same prefab could become an issue, I believe a prefab variant should work though. 
It's a specific use-case scenario so in this case we had to use the normal Unity way of handling it. 
Thank you for the suggestion. 

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
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...