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 sandworm · Jan 26, 2012 at 05:41 PM · assetbundleversioncompatibilityrun-time

AssetBundle incompatibility

I just started receiving the following error:

The asset bundle 'http://***.unity3d' couldn't be loaded because it contains run-time classes of incompatible version. Rebuild the AssetBundle to fix this error.

I have tried rebuilding with the current version (3.5 RC1) and uploading to the server, but I seem to be stuck getting this message. Anyone have any ideas why this is happening? I've posted to the beta group too, hopefully someone can help me find an answer.

More info:

I receive the following errors on Mesh Render and Particle Renderer of my asset: AssetBundle loading failed because the MeshRenderer class serialization hash does not match. Supported: 2a66b79b, loading: 5ab6257e AssetBundle loading failed because the ParticleRenderer class serialization hash does not match. Supported: e262cf75, loading: 92d7bacd

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by sandworm · Jan 26, 2012 at 06:23 PM

Update: I am not entirely sure the difference, but I deleted the original asset bundle from the server, increased the asset build number in LoadFromCacheOrDownload, and reuploaded. Seems to be working, tentatively.

Just a tip, I have a static build number, and I have recently incorporated a static asset build number, which I update when I upgrade my unity version, that way I can force re-download of the cache without going through the code to check my LoadFromCacheOrDownload calls.

For example:

 WWW www = WWW.LoadFromCacheOrDownload (url, Changelog.AssetVersionNumber);
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 furic · Mar 13, 2015 at 12:13 AM

It happens when you changed scripts in the bundle. That is, you need to rebuild the bundle and upload again everytime you did changes to any asset in the bundle (include the scripts attached to the GameObjects)

A more detailed answer here.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to maintain asset bundle compatibility? 2 Answers

unityFramework is not defined - Unity 2022 - Game is stuck loading at 90% 0 Answers

How can I remotely update my customers game scripts? 0 Answers

Same models packaged into assetbundle got different result? 0 Answers

AssetBundle's multiple build results are inconsistent in version 2020.1.1f1 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