02-12-2020, 09:02 PM
(This post was last modified: 02-12-2020, 09:03 PM by josemendez.)
(02-12-2020, 08:17 PM)amismail Wrote: Hi there,
I tried to search the forum for solution to my issue but the forum is huge so I am posting this
I am facing an issue with creating unity prefab that include obi rope with 'obi rope mesh renderer' component, the problem is that each time I try to apply the 'deformedMesh' in the 'Mesh Filter' component to the prefab I get the following message:
"a reference to an object in the scene can't be applied to the prefab asset", and as a result when I try to instantiate the prefab in runtime the rope doesn't appear, I have tried to search for the deformedMesh asset but I didn't find it in the project or the scene please help me to resolve this issue as this is essential for my project, thanks in advance
The rope’s “deformableMesh” is created entirely at runtime. Its not an asset or part of a scene, so it can’t be applied to a prefab or replaced by another mesh.
What’s your use case? If you want to use a custom mesh for the rope, you should use ObiRopeMeshRenderer instead. The extruded renderer generates its own mesh by extruding a rope section, as explained in the manual.