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
4
Question by Foxmanx_7 · Jun 25, 2010 at 07:55 PM · errorbugassetbundle

The file 'MemoryStream' is corrupted!

Hi, i am having some problems with bundles, getting the error below

25/6/2010 16:45:10 [ERROR] {Unity} The file 'MemoryStream' is corrupted! Remove it and launch unity again!

[Position out of bounds!] UnityEngine.Object:Internal_CloneSingle(Object)

UnityEngine.Object:Internal_CloneSingle(Object)

UnityEngine.Object:Instantiate(Object)

...

This occurs when i call the instantiate of some prefab that have been loaded from a bundle file.

Has Anybody already seen this? Any idea of how i can solve this problem?

Thanks.

Comment
Add comment · Show 1
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 yoyo · Jan 15, 2015 at 09:35 PM 0
Share

We just had this today in Unity 4.5.4. Likely a busted prefab, we think.

6 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Lucas Meijer 1 · Jun 26, 2010 at 12:34 AM

This looks like a bug. If it reproduces, could you be so kind to send it to us using UnityMenu->Help->Report a problem? Thanks, Lucas

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
1

Answer by Lloyd_RedironLabs · Dec 08, 2015 at 10:56 PM

FYI, I hit this today. Submitted the bug to Unity, but unless they grab the extended folders I doubt they can replicate it easily.

I have a project that I had to move from Unity 5.2 back to Unity 5.1. Unsure if thats part of the cause.

Everything has been working great. However, today as part of my testing, I had to flood a response back to our web component. This involved creating a MASSIVE string until everything crashed.

When it crashed, I had the error appear:

The file "MemoryStream" is corrupted! [Invalid Positions!]

Or something therein. Launching the project would generate this error a whole ton of times. And the scene would say the timestamps are invalid, and wipe the references for every single file in the scene. No matter how many times I reset the scene or dumped the changes in sourcetree it would replicate it self.

Further, there is no MemoryStream file. So what I did was delete the Libraries folder, obj folder, cleared all temp files, and for safety re-installed Unity 5.1.4.

Launching the scene everything is back to working order. I highly suspect, that just wiping the Library folder would resolve this for most people, but remember to make sure not to save the scene file (File>Save inside the editor) if you see this error, or the scene will save with missing references.

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 ialex32x · Feb 16, 2012 at 11:22 AM

I also encountered the same problem when loading assetbundle. and it seems that it only happens in WebPlayer

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 grobm · Oct 11, 2016 at 05:22 AM

I got the same error in Windows project settings, build in on the Vive Multiplayer Unity 5.4.1, submitted bug... and will try said delete files method.

Thanks

-Mark

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 talibjan · Nov 20, 2020 at 01:09 PM

I got the same error in Windows project settings, build in on the Unity 2018.4.25f when i import some assets and it loading the assemblies expediently i closed vs 2019 community then it show me the error alt text Unloading broken assembly Library/ScriptAssemblies/Assembly-CSharp.dll, this assembly can cause crashes in the runtime

show this and unity closed


error.png (15.4 kB)
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
  • 1
  • 2
  • ›

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can see terrain textures from far away, but not up close? 1 Answer

Running out of memory when loading scene (worked perfectly until about an hour ago - no change to scene). 1 Answer

Stuck on splash screen android 0 Answers

UnityException: Transform child out of bounds when my AI needs to do its Move 1 Answer

Updating bug, script crash, cant compile script 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