Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 /
  • Help Room /
avatar image
16
Question by timzydee · Aug 13, 2016 at 06:59 PM · instantiateanimatorwarnings

Playable was not disposed warning

I am using instantiate to create a game character and have been doing so for some time. After upgrading to 5.4 I now get this annoying little warning, Playable was not disposed, referring to the line in the code where the character was instanced. The warning shows up after stopping play mode in the editor, but it only happens once, the first time after a fresh start of Unity. If I continually run the project through the same process, no warning. If I restart Unity, I get the warning again the first time it runs through that code. Am I doing something wrong or is there something I need to set in 5.4 to stop showing this warning?

Comment
Add comment · Show 14
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 BrainAndBrain · Aug 15, 2016 at 04:13 PM 0
Share

I don't have an answer, but I just saw this as well, exactly as you described. Would be nice to know what's going on .

avatar image timzydee · Aug 15, 2016 at 05:19 PM 0
Share

Good to know I'm not the only one. Hopefully a developer or someone will chime in with what's going on.

avatar image timzydee timzydee · Aug 16, 2016 at 09:30 PM 1
Share

It seems to be related to the Animator component. I haven't seen this behavior in items without one. Although, I don't know what it is about the Animator that is creating the warning on the first run.

avatar image DustinPeerce timzydee · Aug 17, 2016 at 02:24 AM 0
Share

I can verify that it's happening on objects without Animator components for me. The warning appears on the line of my object pooling script where the objects are instantiated, but none of the prefabs have Animator components.

Show more comments
avatar image numberkruncher · Aug 20, 2016 at 10:38 PM 0
Share

I too have started to experience this error message after having upgraded to Unity 5.4.0f3.

avatar image numberkruncher · Aug 20, 2016 at 10:44 PM 0
Share

After some poking I have noticed that it only seems to occur for me when I instantiate a prefab that contains one or more Animator components in it's object hierarchy. The problem doesn't reproduce every single time I run the game; it happens 8 out of 10 times I would say.

avatar image Indiefreaks · Aug 28, 2016 at 12:22 AM 1
Share

On my case, it happens when I use the SetActive method of the object containing the Animator when I stop Play mode in Editor. Seems like a warning raised by Unity to raise that some internal component shouldn't be in that state when stopping Play mode. Probably just a Unity dev $$anonymous$$m forgotten log... :)

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by ryan_unity · Dec 09, 2016 at 02:30 PM

There was a bug fixed in the Unity 5.4.2p2 patch release that looked similar to this. So I'd recommend trying that version or newer :)

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

84 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 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 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

Launch animation from button on instantiated object. 0 Answers

UI Text sometimes renders when instantiated, yet sometimes does not. 1 Answer

Involve Instatiated objects in Animation 1 Answer

Error: MissingComponentException: There is no 'Animator' attached - Animator is attached but disappears on play. Can anyone fix? 3 Answers

how i can set attack back to false ? 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