- Home /
Preventing run-time mesh deformations from altering the underlying FBX file
Hi,
I have a function which deforms the skined mesh renderer mesh of a game object by a small random amount on each vertex.
This works prefectly, but when I return to the editor I find that the actual fbx refered to by the static prefab has been permanently altered. The only soultion to return to the origional mesh is to restore the fbx file from a backup.
Is there a way to prevent the fbx from being altered when deforming its mesh at run-time? I was surprised that it is actually writing alerations to the disk in the first place and didn't have this structure in RAM.
Many thanks, Isaac
I got the same issue here… Any updated information on the topic since then? What probably causes it?…
Thanks.
Answer by Lance Sun · Mar 01, 2011 at 09:39 PM
This seems like a bug to me, but you work around it by creating a copy of the resource before you begin altering it. There should be a constructor to do this.
Your answer
Follow this Question
Related Questions
Prefab can't be transformed in editor after import from a package. 1 Answer
Skinned mesh doesn't appear when imported in unity and the animation is not there 4 Answers
What is required from my model for Unity to add a SkinnedMeshRenderer? 1 Answer
Smoothing Errors with Skinned Mesh Renderer 1 Answer
Manipulate skinned mesh? 1 Answer