- Home /
OneDrive broke my Unity Project
So, while I was working on my project yesterday, I was suggested to use the school OneDrive so that I could access my project from any computer, but when I loaded it up on my main computer, it gave me a bunch of errors yesterday, but now only 3.
Failed to resolve packages: An error occurred while reading the file [C:\Users\Ja.----20\OneDrive ----------- ------ -------- --. --\Documents\Unity\Battle System Terradaro Ideas\Packages\manifest.json]: UNKNOWN: unknown error, read. No packages loaded. A re-import of the project may be required to fix the issue or a manual modification of C:\Users\Ja.----20\OneDrive ----------- ------ -------- --. --\Documents\Unity\Battle System Terradaro Ideas\Packages\manifest.json file.
Assets/Scripts/LoadNewArea.cs(21,35): error CS1070: The type 'UnityEngine.Collider2D' has been forwarded to an assembly that is not referenced. Enable the built in package 'Physics 2D' in the Package Manager window to fix this error.
Assets/Scripts/MusicController.cs(8,12): error CS1070: The type 'UnityEngine.AudioSource' has been forwarded to an assembly that is not referenced. Enable the built in package 'Audio' in the Package Manager window to fix this error.
What can I do to fix these errors?
Answer by SesshogeGames · Jan 07, 2019 at 08:02 PM
It was a simple fix, as it turns out. If this has happened to you, the solution is super easy, just create a new project the exact same way as the last one, and copy the manifest from the new one onto the old one. A.K.A. if you created a 2D project, create a new 2D project and copy that manifest.
LEARN FROM MY SUFFERING AND NEVER PUT IT IN ONEDRIVE.
Your answer
Follow this Question
Related Questions
Cloud recognition in Vuforia 0 Answers
Cloud Build Can't connect to Mercurial Repo ( Repo is not accessible. ) 0 Answers
My game won't run on the cloud 0 Answers
Photon Cloud doesn't work correctly 3 Answers