Level2 is corrupted, only with the build but ok within the editor

Hello,

I test my game within the editor and it works just fine.

I build the game, I launch it but when I start a scene I have this issue and the game crashes :

The file ‘/Users/martin/Library/Mobile Documents/com~apple~CloudDocs/Projects/Unity/Endless Cycle Mac builds/Beta0.7.app/Contents/Resources/Data/level2’ is corrupted! Remove it and launch unity again!

Anyone had this issue before ? I don’t know where to look

Is this a cloud-synchronized area of your drive?

Unity doesn’t support cloud sync and generally speaking bad things can happen if you do it.

Use proper enterprise source control to back up your work.

Otherwise, try a full rebuild all in a non-cloud-synced area.