Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Create mesh in Prefab
#1
Hello,

I apologize if this question as already been answered, I did a quick search and couldn't find and answer.

I am using Curvy to generate meshes using spline (it works great!). I want to use several generators inside of a prefab, but I can't save their content.

My setup is:
PipesGenerator (this is a prefab).
I want to use PipesGenerator instances in another prefab (in the prefab stage), let's call this prefab MyRoomPrefab. 

Like so:
MyRoomPrefab
- PipesGenerator_01
- PipesGenerator_02

I can use the generator and create mesh no problem, however when I save, I get this error:
"[Curvy] Invalid operation:You initiated an operation that leads to the deletion of the Game Object 'Create Mesh_5_Mesh000', which is part of a Prefab instance.Children of a Prefab instance cannot be deleted or moved, and components cannot be reordered. You have to open the Prefab in Prefab Mode to restructure the Prefab Asset itself, or unpack the Prefab instance to remove its Prefab connection."

I am wondering if there is a way to go around this problem. I would like to avoid exporting asset manually and them using them in another gameObject. I want the source spline and the output mesh to be available in MyRoomPrefab (to enable tweaking at a later time).

Any help appreciated.

Thanks,
Reply


Messages In This Thread
Using Create mesh in Prefab - by Nykster - 03-24-2022, 12:32 AM
RE: Using Create mesh in Prefab - by _Aka_ - 03-24-2022, 11:53 AM
RE: Using Create mesh in Prefab - by _Aka_ - 03-24-2022, 11:57 AM
RE: Using Create mesh in Prefab - by Nykster - 03-24-2022, 03:25 PM
RE: Using Create mesh in Prefab - by _Aka_ - 03-24-2022, 06:39 PM
RE: Using Create mesh in Prefab - by Nykster - 03-24-2022, 08:51 PM
RE: Using Create mesh in Prefab - by _Aka_ - 03-25-2022, 12:36 PM
RE: Using Create mesh in Prefab - by Nykster - 03-25-2022, 01:54 PM
RE: Using Create mesh in Prefab - by _Aka_ - 03-28-2022, 02:24 PM
RE: Using Create mesh in Prefab - by Nykster - 03-28-2022, 10:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 307 03-18-2026, 08:34 PM
Last Post: _Aka_
  Create Game Object Renaming Options rickgplus 1 934 09-23-2025, 09:33 AM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,321 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,622 02-14-2025, 07:11 AM
Last Post: vatan

Forum Jump: