Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
11
Question by Griffo · Dec 24, 2015 at 03:00 PM · errormovementerror messageerror-message

The file MemoryStream is corrupted! Remove it and launch unity again

Hi,

Ive updated Unity from 5.2 to 5.3.1f1 yesterday and was using it with no problem then saved my scene and project and now have just opened the project again and when I went to play it I got the following error ..

The file MemoryStream is corrupted! Remove it and launch unity again

How can I correct this please ?

Thanks.

Comment
Add comment · Show 2
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 Griffo · Dec 24, 2015 at 04:02 PM 0
Share

Ok I find this

Delete the Library and Temp folder .. Great now Unity has to import assets and textures AGAIN! then it's set to Web player so now I have to change to iOS and import the assets and textures AGAIN!! and this is only a little project, I also have a BIG project throwing this error and thats going to be an over night rebuild ..

I read this error showed in Unity 4.X So why has Unity not sorted this by now Unity 5.3.1f1 ??

And in my project I have no references to missing scripts ..

avatar image Griffo Griffo · Dec 27, 2015 at 05:09 PM 0
Share

Does no one know a fix to this as it's happened again :(

6 Replies

· Add your reply
  • Sort: 
avatar image
36

Answer by TheWarper · Jan 19, 2016 at 07:19 PM

This is the solution - it involves Unity's remote:

Set Editor->UnityRemote->Device->None->Exit Unity (To save this config)->reopen->play Once it plays successfully, you can reset the Unity Remote to the device you were using previously.

@Unity, when can we expect a patch for this?

Comment
Add comment · Show 9 · 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 angelfcm · Jan 23, 2016 at 03:03 AM 0
Share

Thank you I had the same problem and your solution fix it ! thanks!

avatar image moondust-ltd · Jan 23, 2016 at 02:30 PM 0
Share

Thanks! $$anonymous$$uch quicker than removing the Library folder

avatar image rosevelt · Feb 08, 2016 at 03:45 PM 0
Share

Great!!! Thanks

avatar image cchacon · Mar 11, 2016 at 06:22 PM 1
Share

worked for me

avatar image elenzil · Mar 17, 2016 at 11:26 PM 0
Share

encountered this for the first time after upgrading from Unity 5.3.1 to 5.3.3 and running w/ an iPhone connected. following TheWarper's suggestion fixed it.

Show more comments
avatar image
3

Answer by quankid1412dafsd · Jan 24, 2017 at 11:25 AM

remove folder /ProjectName/Library/metadata then restart unity

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
2

Answer by tfunk · May 18, 2016 at 04:31 AM

For me, it turned out that the issue was that I had Android selected under Build Settings, but had an iPhone connected via UnityRemote.

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 $$anonymous$$ · Jun 03, 2016 at 08:13 AM 0
Share

Same for me. After I selected iOS as Platform in the Build Settings, it worked.

avatar image
1

Answer by unity_6_EkiNr9Kjm8VQ · Dec 10, 2018 at 07:47 AM

Prefab is broken. Reset it or Use the older one. It will solve the problem.

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 MGGDev · Jan 22, 2019 at 09:36 AM

Pinned down the problem to a corrupted prefab instance (thanks @unity_6_EkiNr9Kjm8VQ for the hint!). Here is how I solved it:

  1. If you can't run the editor, delete the project's Library folder first.

  2. Run Unity. It will start in a Sample Scene now. [Optional: Play the scene for a few seconds].

  3. Open your scenes one by one. The one with the problem will crash the editor.

  4. Copy all the files of all the prefabs used in this scene to a safe folder.

  5. Run the editor again, and delete all the prefabs from Unity.

  6. The scene should load now.

  7. Delete all the instances of the prefabs from the scene hierarchy.

  8. Save your scene.

  9. Drag and drop the prefabs again (from the folder you copied them to earlier) into Unity.

  10. Recreate the instances.

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

47 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

Related Questions

Errors i can't understand. SetSystemInterested 1 Answer

Receiving error"NullReferenceException: Object reference not set to an instance of an object clicktoDestroy.OnDestroy ()" 1 Answer

im getting this error: NullReferenceException: Object reference not set to an instance of an object Item.Start () (at Assets/Scripts/Inventory System/Item.js:9) 1 Answer

Multiple dependency jobs should not be in ScheduleDependencies 1 Answer

Assets\PlayerController.cs(29,29): error CS0200: Property or indexer 'Vector3.normalized' cannot be assigned to -- it is read only 1 Answer


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