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 karp505 · Oct 22, 2014 at 08:56 PM · animationrenderinginspector3dmodel

3D model doesn't render unless I look at it in scene view.

Hi all,

I have a 3D Model that I've imported into my game, and it has a built in animation. The animation works just fine, except for a couple of certain circumstances. The first is whenever I instantiate the model from a prefab. The second is whenever I start with the animator disabled and enable it during runtime via script.

In both of these circumstances, the model doesn't render AT ALL. However, if I pause the game, go into the scene view, I can see it perfectly fine, as if it had been visible and animating the whole time. Then, when I go back to the game view, or unpause the game, it ALSO shows up perfectly. Alternatively, it works if I have the scene view and game view running at the same time, but only if I can see the model in the scene view. It does not work in a build.

The only time this bug doesn't happen is if I put it in the game from the start (not as a prefab) with the animator already turned on.

Has anyone run into anything like this before?

Thanks

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Tohron · Oct 22, 2014 at 11:43 PM

One way to make progress on debugging might be to put one instance of the object into the game from the start, then instantiate in another during runtime. Then, you can hit pause. If (as you say) the first object is visible and the second is not, you can look through each of those objects to try and figure out what the difference is.

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 karp505 · Oct 23, 2014 at 02:46 PM 0
Share

Hey, thanks for the response. Unfortunately I haven't been able to find any differences when I try that.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Is there a quicker way to populate animated tiles? 0 Answers

Two same fbx files works different 1 Answer

Problem while editing animation clips on timeline 0 Answers

Animation showing up in inspector preview, but not when I drag into scene. 0 Answers

Is it possible to create a custom model preview in an Editor window akin to the one displayed when an FBX is selected? 3 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