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 /
avatar image
2
Question by Vire · Jul 05, 2012 at 11:21 PM · importmodelfbxreplace

Replacing an FBX model - I keep having to re-apply all scripts/etc

Hi there,

I've got a character model, I'm frequently updating animations. Every time I do this I have to reapply my scripts, go through all their public values and change them to the same as the old version, and it takes a while.

I searched around and the "solution" was to use an empty game object and put your scripts on that. But it doesn't work for me because my scripts require that they are all placed on the actual model as that is what contains all of the animations, and I obviously can't move my animations onto an empty game object.

I'm still learning to code, don't exactly know how to tell it to look under the object for everything, and just seems messy.

There needs to be a way that I can update my models and not use empty game objects. This is wasting so much time.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by tmdchi · Jul 06, 2012 at 10:25 AM

With proper use of prefabs you should have no problems. Ensure that your fbx always have the same hierarchy, names, etc. and updating it should be transparent. Also ensure you replace it through explorer (or finder in mac) so Unity sees it as an updated file. If you drag and drop your fbx inside the Unity project window, it will be treated as a new (renamed) one.

Comment
Add comment · Show 2 · 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 tmdchi · Jul 06, 2012 at 10:26 AM 0
Share

Or simply export directly to your assets folder.

avatar image Vire · Jul 06, 2012 at 10:28 AM 0
Share

Hi, thank you for responding :), I have actually been deleting my old file, then importing another one (that retained all the animation links, figured it'd work) - seems I've been doing it completely wrong, guess I asked a silly question - but hey I'm still very new at this

avatar image
1

Answer by kurotatsu · Jul 06, 2012 at 03:58 AM

Google Unity copy components script.

here

or

In Unity go to Windows->Asset Store->Search:Component Copier.

If either of these helped don't forget to check the answer box on this post and maybe give a brother an up vote.:)

Comment
Add comment · Show 3 · 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 Vire · Jul 06, 2012 at 09:53 AM 0
Share

Hi there, thanks for responding but I'm not looking for a paid solution. This is functionality that is extremely basic and needs to be available by default, if there is no way to do it out of the box, then unity is severely under polished.

avatar image kurotatsu · Jul 06, 2012 at 09:44 PM 0
Share

not all things on the asset store are paid, but I'm glad you found the answer you needed.

avatar image Vire · Jul 07, 2012 at 02:35 AM 0
Share

The item you suggested is paid, as are the variants

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

8 People are following this question.

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

Related Questions

Replace static placeholders with the animated ones 0 Answers

Cinema 4D Exported FBX Model Looks Wrong 1 Answer

export max to unity ??? 2 Answers

Is importing from Maya via fbx using model@anim broken? 1 Answer

Imported mesh loses material information when assigning to triangles array 2 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