Unity Level7 Is Corrupted Remove It and Launch Unity Again
- Spaces
- Default
- Aid Room
- META
- Moderators
-
- Topics
- Questions
- Users
- Badges
- Home /
0
Unity Game level 0 is corrupted Aid!
So my game works in editor but when i build it say one of my levels is corrupted? I'm not sure how to fix this. please help all help is appreciated this is what i get in the development log: The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Data/level0' is corrupted! remove it and launch unity again! [position out of bounds! 16068 > 16064]
The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Data/level0' is corrupted! remove information technology and launch unity once again! [position out of bounds! 16068 > 16064]
The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Data/level0' is corrupted! remove it and launch unity once again! [position out of bounds! 16068 > 16064]
three Replies
· Add your reply
- Sort:
1
Answer by meat5000 · Jun 22, 2014 at 10:52 PM
0
Respond past Graham-Dunnett · Mar 28, 2014 at 11:45 AM
That ordinarily means that the level data was built using a different version of Unity to the run fourth dimension. Peradventure create a totally new build and see if that has the same problem.
I Built the game again for standalone still had the trouble :( and i finished the game i just demand to build it unity is and so frustrating at times >:(
0
Wiki
Answer by SugoiDev · Jun xix, 2014 at 12:49 AM
This bug might be related. It exists in the latest version (today 4.5.1f3) and for what I could tell it exists in previous versions as well.
This is a repro case:
A generic course with a generic array using UnityEngine;
public class GenericBaseClass<T> : MonoBehaviour { [SerializeField] private T[] objects; }
A derived empty class (might not even be necessary)
public form DerivedClass : GenericBaseClass<DerivedClass> {}
At present create any object and adhere the DerivedClass
component to information technology. Compile your build with debug enabled and run it and the error will prove.
The electric current temporary gear up I constitute was to utilize a Object[]
or GameObject[]
instead of T[]
(losing type safety) and use GetComponent()
(and casting to T
) to call back the T
(losing some performance).
This issue does not seem to affect the webplayer (at to the lowest degree my repro example doesn't affect the webplayer, simply I didn't run extensive tests).
Your answer
Welcome to Unity Answers
The best place to ask and reply questions nearly development with Unity.
To assistance users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, cheque out our FAQ for more data.
Make certain to check out our Knowledge Base for ordinarily asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Follow this Question
Related Questions
Source: https://answers.unity.com/questions/675482/unity-game-working-in-editor-docent-work-in-builed.html
Hey bud. Welcome to Answers.
A few things, could yous possibly upload the prototype yous have said y'all have attached, also a before y'all deploy, what sort of yellow alarm do you lot take in your panel/debug window of the Unity IDE, if any ?
Perhaps, you might elaborate on anything that happens when you effort to load this level in your build? a complete crash, a game freeze etc.
Overall, withthe information yous have provided, about likely, you take non added the level you were trying to go to in game, to your Unity build/ deployment. But thats without whatsoever info and going off of feel Accept treat now bud and hope that helps some.. grow your question`southward resources by adding what you can equally we deceit see what you come across recall, it volition go resolved faster no dubiousness. Gruffy
Hey cheers for replying This is what is exactly written in the Development log:
The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Data/level0' is corrupted! remove it and launch unity once more! [position out of bounds! 16068 > 16064]
The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Data/level0' is corrupted! remove it and launch unity once more! [position out of bounds! 16068 > 16064]
The file '/Users/joshua/Documents/Fps/Test_01.app/Contents/Information/level0' is corrupted! remove it and launch unity again! [position out of bounds! 16068 > 16064]
if you could shred some light on my problem that would be swell :)
And besides it loads the level but it glitches out i tin can move shoot but i can't move my camera and also information technology has some splashes of blue on the screen and some of the screen is duplicated its really hard to explain distressing if I'm existence very brief and unity answers won't let me upload a screen shot for some reason :( and also it plays normal in the editor its fine everything works but when i build information technology for mac standalone it loads my card i click start information technology loads the level just as i said information technology flips out the screen. i think ane of my levels might be corrupted but i don't know how to set it
@th3jcrew : I just rejected your question out of the moderation queue because it was the exact same question you're asking here in this topic. If y'all want to bump your unresolved topics either click the edit button on the post and re-submit it or postal service a annotate.
sorry its but so frustrating that i finish a game i spent two months on! and and so it dosen't work
Bear witness more than comments