Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating multiple object on changing transform
#9
(08-22-2019, 02:39 PM)_Aka_ Wrote: As you might already know, the objects with blue names are part of the prefab, and with black names are not part of it.
So you already not include the generated mesh objects in the prefab, which is the right thing to do.

The sentence you are asking about:
"So the solution is to not include the generated objects in your prefab, which is the right thing to do anyway, to avoid having huge prefabs."
was said to a user which included all the generated objects in the prefab. In other words, all his objects had names in blue, which is not your case.

Yes I managed to remove the mesh from the prefab, but Curvy creates a new instance of the mesh everytime I run the game in the editor, resulting multiple useless meshes.

In the image you can see the Create Mesh_6_Mesh000 gameobject hasbeen created twice, first instance was created on the first time I pressed play, second on the second startup, first instance is not interactable. If I would start the game again a third instance would show up and so on.. How can I stop the the duplicate mesh creation/delete the earlier created mesh.
Reply


Messages In This Thread
RE: Generating multiple object on changing transform - by spedepasanen - 08-23-2019, 12:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Generating GO only on CPs in Generator GameDeveloperek4123 1 7 03-04-2024, 11:06 AM
Last Post: _Aka_
  Distance travelled across multiple splines jh092 1 7 02-23-2024, 09:44 AM
Last Post: _Aka_
  Removing the objects behind an object alms94 6 6 12-06-2023, 09:31 PM
Last Post: _Aka_

Forum Jump: