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.