Hello! I’ve just started using Unreal Engine 4 and I wanted to hop over to Linux and test my project over there to make sure it works fine across multiple operating systems, and followed the Cross-Compiling tutorial found here. But then it got to the part with Startup.bat and GenerateProjectFiles.bat, and I looked forever for them then finally Googled it, and I found this. So I followed that and tried to generate Visual Studio files, but then it wanted me to make C++ files. So is there a way to Cross-Compile for Linux, without adding C++ and if not, will it affect anything until I’m ready to start learning C++?
You can cross-compile a Blueprint only project without using any code from the File → Package Project dropdown. If you’re using a code based project, or add code to a blueprint project, then you will need to use a source built engine and follow the steps here (A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums) to cross-compile the project for Linux.
Hmm I tried going to File > Package Project > Linux and it opened my browser with the Cross-Compiling tutorial I put in the question. I know this isn’t a code based project because it needed me to add code to it before I could generate Visual Studio files. Thank you for your time.
If you added code then it is treated as a code project from that moment onward. If you’re added code to the project, you will need to download and build the engine from source code then launch/package the project from that engine build.