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
0
Question by lionheartt · Aug 12, 2014 at 11:56 AM · animatorprofiler

Animator.initialize Stuttering.

alt text

In our Project,We have a PoolManager to create Objects,When need GameObject,just Active/Deactive them,But if the Object have Animator Component,we active the GameObject,the Animator.Initialize use more times.how can we just deactive/active the object,but not let Animator un/initialize? AnyBody help?Thanks verymuch!!!!

animator.jpg (90.8 kB)
Comment
Add comment · Show 2
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 lionheartt · Aug 12, 2014 at 03:50 PM 0
Share

before i active the Gameobject,even I set Animator.enable = false.but the Animator.initialize also run... who can help me,thankS!!!!!!

avatar image JGriffith · Feb 04, 2015 at 03:05 PM 0
Share

Having the exact same issue. Causing a 1000ms freeze.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by skjcul · Sep 04, 2014 at 09:23 AM

I meet the same problem before, I change the obect's Animator Culling Mode to Based On Renderer this helped, but not very useful, just a litter bit help . you can try .

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

Answer by JGriffith · Feb 04, 2015 at 03:19 PM

Looks like I was able to fix our problem.... The spawning code was using the pool manager to spawn it, but we were using a new prefab that was not put into the pool, so poolmanager was having to instantiate it at during game play. For some reason this was causing a 1000ms hiccup, where, for whatever reason, pre-loading it with the pool manager at game start does not cause the same issue.

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

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Animator.Update has high CPU usage 2 Answers

What are "Dirty Scene Objects" in Animator.Update in the Profiler 4 Answers

Massive lag with Animator.Update in Profiler 0 Answers

2D Animation does not start 1 Answer

Is it possible to change a skybox material via (Animation)? 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