Unable to use godot c# project across more than one device

Godot Version

4.2.2

Question

I am making a game in godot using c# and the mono version of the editor. The main way that I develop the game is on a windows machine, which works fine with no problems at all. But when I exported the project to a zip and downloaded it on my Linux Laptop, I get a bunch of errors and the game no longer runs in the editor at all.

I have a few screenshots of the errors to give some more context, but I have made another project in the same version of the editor on the linux machine and it works perfectly fine, for some reason a project made on a windows PC does not work when in linux.

I am also not getting the build button, which is present in any other project that I make on my laptop.

Screenshots

Linux filesystems are typically case sensitive, windows filesystems are not. I bet you have a case mismatch in a filename or path.

1 Like

But that’s the thing, everything is already case specific because C# requires it to be. I’ve reinstalled godot 4.4.1 on the linux machine and im still having the same problem.

If not the files, check the directories too.

1 Like

Have you built the project at least once? Preferably from your IDE, not inside godot.

Also do not zip up your project at all, use a version control system, since some files shouldn’t be included in that.

Also try to delete your ‘.godot’ folder and open the project again.

1 Like

I’ve found the solution, I was just being an idiot. Had i Googled it, it would have said to press the ‘create c# solution’ button under tools, which fixed the problems straight away. Godot just didn’t realise it was a c# game because it was made on a different OS.

Thank you though to everyone who tried to help, i was just being a bit stupid.

2 Likes