Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 CaKeMeaT · Dec 22, 2015 at 12:25 AM · windows phonecorrupted

sharedassets1.assets is corrupted!

I get this error when running my game built for Windows 8.1 and WPhone 8.1. It crashes on device, it crashes on debug run. With all of my goofing around this error wont go away, it occasionally changes which file the error mentions: eg. sharedassets1.assets , sharedassets2.assets. Ultimately, one of the .assets file says corrupted no matter what (only on Windows 8.1 builds)


• ERROR-- The file 'D:/WPSystem/SharedData/PhoneTools/AppxLayouts/e4ad5e80-96b3-48fd-b338-57c21f165085VS.Release_ARM.MM/Data/sharedassets1.assets' is corrupted! Remove it and launch unity again! [Position out of bounds!]

(Filename: C:/buildslave/unity/build/Runtime/Serialize/SerializationCaching/CachedReader.cpp Line: 241)

Have Tried: -Deleting affected scene, remaking with new name and new prefabs *see below -Deleting all prefabs present from this scene. -Removing all duplicate filenames. -Remaking all scripts used in this scene as new files. -Removing all JS scripts from project and HDD, recreated them as C# scripts with new file names. -Rebuilding prefabs from scratch (with new scripts). -removing all 3d models from project. -removing all textures from project.

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 rjmyth · Jan 18, 2016 at 04:27 PM 0
Share

Hey, I have the same issue, as this thread hasn't been answered I thought I'd add some more info.

$$anonymous$$ay I ask if you have managed to solve this issue yet or have any new information which could help?

I have the latest Unity 5.3.1p3 patched build, and am building to Windows Store Universal 10 XA$$anonymous$$L and still get this issue.

I noticed from some other forum posts dating back to Unity 4.3-5 that it could be caused by a setting on mesh serialization or setting Optimize $$anonymous$$esh and $$anonymous$$esh Compression on some models in the application. Otherwise it could be to do Serialization. I haven't tried this yet myself but I will.

I have attached the log I get from running a build, it looked identical to your one posted above but might contain a bit more information so the guys at Unity can get a better idea of possible causes hopefully.

SharedAssets0 Debug run log

shared-assets-corruption-log.txt (10.1 kB)
avatar image Szpajku · Jun 12, 2016 at 02:20 PM 0
Share

Hi!

I'm porting a game to Windows Store Universal 10 XA$$anonymous$$L using Unity 5.3.5. I get this error when I try to build my project with C# Projects selected - the game builds without any problems but when I try to Debug it through VS I get the same error as you did :/ $$anonymous$$y log looks practically exactly like rjmyth's :/

The file 'D:/Projects/Current/../bin/x86/Debug/AppX/Data/resources.assets' is corrupted! Remove it and launch unity again! [Position out of bounds!] (Filename: C:\buildslave\unity\build\Runtime/Serialize/SerializationCaching/CachedReader.cpp Line: 223)

I've tried your solution Ca$$anonymous$$e$$anonymous$$eaT but it didn't work. The whole porting process for UWP is a nightmare and I need C# Projects to trace an error that's causing a lot of trouble during gameplay.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by CaKeMeaT · Jan 22, 2016 at 06:29 PM

I resolved the problem (I guess) by removing [Serializable] tags, and then removing pointer-style references inside my InventoryScript that were used like a linked list.

Example:

InventoryItem next; InventoryItem prev;

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 ianxyz100 · Nov 21, 2020 at 11:17 PM

I also had this issue. For me it was a corrupted Prefab. I recommend using version control software like Github, backing up your project, and then you can delete large swaths of your project (for example, I did one where I deleted scripts, that didn't work, but then restored to the older version, deleted all prefabs, and the crash stopped.) From there I just had to rebuild prefabs.... apparently meshes can also be corrupt. Hope this helps!

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

35 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

Related Questions

game crashes in windows phone. 1 Answer

Unity crash - "Automatic import prefab disabled" 1 Answer

System.Collections.Specialized.OrderedDictionary doesn't exist in target framework while building for windows 8. 2 Answers

Which windows Phone Controls Can i use in Unity Solution? 1 Answer

Enable hideInput on Windows phone 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