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 Gcs_deV · Jul 05, 2014 at 03:05 AM · animationgameobjectarmatureoptimize

Why does "Optimize Game Objects" break my armature and animations?

In Unity 4.5.0f6, I have imported a character model, armature and animation from Blender. I selected Humanoid rig in the import settings but did NOT enable "Optimize Game Objects". Configure Avatar shows me that the bones are correctly assigned, everything is green, and all is good! So, with an avatar created, an animator assigned, I click on play, and everything works as expected. Then I enable "Optimize Game Objects" and everything goes to hell in a handcart. Animations no longer run and the model is permanently stuck, hovering off the ground and rotated about 90 degrees around the Y and X axes... what's going wrong here?

Comment
Add comment · Show 1
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 20, 2014 at 06:37 PM 0
Share

Have you removed doubles from your mesh and checked for duplicate faces(very hard to spot, though recalculating Normal's can hint at this when it is not working as expected) and any stray(unseen) edges. $$anonymous$$y guess is that if you have any of these then the optimization will remove the mistakes(duplicates) and what you are left with may not be correctly bound to your armatures. It is worth double checking your mesh for these errors, then if you have the same problem you know the cause is something else...

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by TirythDM · Oct 20, 2014 at 06:24 PM

Hi, I has this same problem, in my case, I was using the Animator controller on the father of the prefab instead on FBX that I imported... Changing that and putting the animator in FBX and the controller there, its come back to animate o.o I dont really know why, but thats works for me XD I just needed to change my scripts to GetComponentInChildren()

Hope it helps

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 osamansr2o1oo · May 12, 2018 at 02:05 AM 0
Share

Unity 2017.3 and still the same problem ,, this answer works btw ,, I tested it before googling ,, but I want another solution ,,, I don't want to alter my scripts and nor unity's standard asset scripts :(

avatar image iJuan osamansr2o1oo · May 12, 2018 at 02:11 AM 0
Share

Could you send a screenshot of the Hierarchy you're using, and the one you should use as said on the answer above? I think I'm not understanding it

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

6 People are following this question.

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

Related Questions

Animation Doesn't CrossFade At End 0 Answers

Animator - Do After Playing Animation 1 Answer

Object's sprite and collider are not at same position as transform 1 Answer

Floating boss Hands, can't move bones of hands for attacks 0 Answers

Changing position of game object during animation 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