I have a model I am importing from Maya that I need to be a prefab, but when I add the model into a prefab object in unity, it doesn't save the meshes to the object. Is there a way I can directly import a model from Maya into Unity in the form of a prefab? Unity 5.5; Maya 2017; Mac;
Answer by shadowpuppet
Mar 11 at 10:17 AM
Hmmm. I import FBX files from Maya all the time. Not sure I get the problem. If you are adding the imported fbx to an existing prefab...first put the prefab in the scene ( if not already there) add the model and hit "apply" in the inspector (top right). if you don't hit "apply" the added mesh will not be saved into the pefab, and if the prefab is NOT in the scene ( you are dragging the mesh into the prefab while still in your project folder) the "apply" button is unavailable. If you simply want the imported object to be a prefab , put it in the scene then drag into prefab folder. When I import an FBX and put it in the scene, then do something to it ( like delete a useless mesh object ) I get a warning saying I am "losing prefab" which is odd because it isn't as I hadn't put it in the prefab folder and no "apply" button visible. Maybe 5.5 is different. I'm using 4.7 still
Ok, thanks for your help. It worked.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
5 People are following this question.
How to import a mesh NOT as a Prefab
Keep imported meshes reference in prefab
Replacing skinned mesh prefab problem
Importing .obj from Maya - mesh invariably called "default"
Adding a new mesh to a prefab from it's blend file