I created my project on mac. Assembly-CSharp-Editor.csproj file has references from mac folders.on windows i get errors like “The referenced script on this Behaviour is missing!” and “Namespace ‘UnityEditor’ not found, maybe you forgot to add an assembly reference? (BCE0021) (Assembly-UnityScript)”. how can i make a compatible project?
Edit:Also how can i what is missing script? i want to learn script name, is there any way to get this info?
You shouldn’t include any of the .csproj files in source control. In fact, there are only two things you need to keep under source control, and those are the Assets and ProjectSettings folders. Unity will auto-generate the rest as needed.
i deleted other files/folders as you mentioned. i opened unity it still has problem like “The referenced script on this Behaviour is missing!”. i will try your link when i back to my mac machine.
Try deleting everything except the ProjectSettings and Asset folders if you haven’t done so already. If that still doesn’t work then I have no idea what the issue might be. Sorry!
Did you make sure you completely closed unity before attempting to pack the project?
Having the project open -will- result in a lot of your ProjectSettings files being locked ( and thus non-accessible for reading)