Building existing project on Linux

Alright time to ask for help.

I’ve been trying to open a project that is being developped normally on a windows machine, on a Linux machine.
(I use arch btw)

i’ve built Unreal Engine 4.25.4 from source code but when opening the project file it keeps telling me that the project was created with a different engine and to build the project from source. (yes the project is being developped in 4.25.4)

i found this code to help me rebuild the project in Linux :

unfortunately, i get the exact same error.

i`m doing this because i want to compile the game for Linux and when i try to cross-compile, i get a ton of errors ranging from files in the build not getting named properly to looking for files with the wrong file format.

Any help is appreciated.

Turns out i had a plugin that was throwing an error in the logs. Funny that it was doing it fine in windows.
To verify your logs go to [Game folder]/saved/logs and there you will find logs with a date on them. those contain the crunchy details that you need.
there is also the [Game name].log file that contains less precise information.

i got the project opening by disabling that plugin in the uproject file but it now hangs and crashes at 95%.