Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by IKilledKenny_2 · Oct 31, 2014 at 06:27 PM · importprefabsimporter

Import model

Hello Unity3D.I have a little problem with importing models into unity3D. Everytime i reimport a model into unity it goes great for the model part.but for the prefab part,The prefabs of my models always get ruined whenever i reimport a model in unity3D.Is there a way to make it that anytime i reimport a model into unity the prefab of the previous version of the same exact model that i reimport doesn't get ruin each time?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MrSoad · Oct 31, 2014 at 06:52 PM 0
Share

What is going wrong with the prefab model after the reimport and what changes have you made to the model before you have done this?

avatar image IKilledKenny_2 · Oct 31, 2014 at 07:59 PM 0
Share

Oh Like Half the meshes go missing and the animations aswell goes missing.

avatar image MrSoad · Oct 31, 2014 at 09:54 PM 0
Share

I have in the past had my prefab setup with the mesh object as a child of the root prefab object. This has two benefits, one : in Blender the x,y,z axis are different from in Unity so I could just rotate the mesh object under the parent to sort this out easily(all movement etc was handled on the parent), two : I could just drag and drop my new mesh version onto this part of the prefab and save/apply after. I kept a model scene, without them prefab-ed which updated better from re-imports than the prefabs, I would go to this scene and drag and drop. This may or may not be of help to you but it did help me at times.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Tanshaydar · Oct 31, 2014 at 06:51 PM

When you re import, you are rewriting the data that prefab is based on. So, the prefab will change accordingly, usually get broken. To avoid that, you either will have the final version of the model and create a prefab from it, or import models with different names (preferably to different folders to avoid confusion), or create the prefab so that model (mesh renderer) does not affect its structure.

I usually do that with versioning. I had some folders called model_a_V1, model_a_V2, model_a_V3 etc. When things are being finalized, I removed first two folders and renamed model_a_v3 to model_a_final so it gives the idea to everyone working on the project.

These are basic conventions, but if you overwrite a model, it will always affect your previous work.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image IKilledKenny_2 · Oct 31, 2014 at 08:02 PM 0
Share

Oh so its best to either have the final finished or to make versions of it and rename me like v1,v2,v3..... Dang that must sucks...

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Import just one animation 3 Answers

Importing Error From 3D Max 1 Answer

Ihave a problem 0 Answers

Create a Prefab from imported Assets automatically 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges