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 smashingy0u · Jul 31, 2014 at 10:07 AM · androidbuildbuild-errorasset

Unity not building used assets

In my project i have a player with shooting and running animations. When i build my project to the android platform unity doesn't include those animations. The player gets loaded in the scene when it is starting.

I "Fixed" the problem by placing the character model in the scene with its animations.

Though this is just to work around the problem and not actaully fixing it. I would like to know why this is happening and how i can fix this properly :)

EDIT:

It isn't just animations. it also just happend with a texture. in the game was an emeny without a texture and everything else about it was just working fine.

Edit2 After researching for a while i think it has something to do with the error i am getting when building. and i think it is related to this issue. alt text

http://forum.unity3d.com/threads/project-4-2-to-4-3-mismatched-serialization-in-the-builtin-class-mesh.210417/

error.png (5.2 kB)
Comment
Add comment · Show 6
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 Arcadewiz · Jul 31, 2014 at 10:10 AM 0
Share

Do you have your animation controller setup correctly for the character and listed in the animation component list for your character in the inspector.

avatar image smashingy0u · Jul 31, 2014 at 11:12 AM 0
Share

Yes i have. also i forgot to mention that it worked this way for like 15 weeks until now

avatar image Arcadewiz · Jul 31, 2014 at 11:16 AM 0
Share

Has it been working on android for 15 weeks or PC. Is it your first time trying this scene on android.

Did you change anything before this problem occurred that you think has affected it.

avatar image smashingy0u · Jul 31, 2014 at 11:57 AM 0
Share

No it worked for android all those weeks and i'm not working on major parts of the game now, meaning i ddin't change anything that could affect that (to my knowledge).

It just happend with a texture :/ now there was a enemy model without a texture and it was listed in the unused assets

avatar image Arcadewiz · Jul 31, 2014 at 12:06 PM 0
Share

Cant get a clue. If possible take a backup and try reversing the changes and backtrack to the point if possible.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by fffMalzbier · Jul 31, 2014 at 01:10 PM

Be sure that everything you like to use in your game have to be referenced by the scene which like to use it , or you use the resources folder for loading them later.

Everything that is not referenced by a object in the scene will be stripped from the game to make it smaller / more performance.

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 smashingy0u · Jul 31, 2014 at 06:38 PM 0
Share

Yes that is exactly what i have. I have the prefab in the resources folder. It loads the complete prefab except for the animations. I also started happening with other prefabs where this time the texture of that prefab was missing. everything else is there. This seems really strange to me.

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

Android build error: unrecognized pixel format 264 0 Answers

I have a problem with my sdk version. Please help me 0 Answers

I have a build problem android. 0 Answers

Gradle Build Failed Unity version 2020..3.23 1 Answer

Unity freezes on Packaging assest:sharedassets0.assest 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