Hello (first sign of a noob in a forum post),
I recently got the source code to compile, I’m very happy, usual ignorable text.
Regardless, thanks Epic for making it easy for indies to access Unreal Engine 4.
Windows 7 x64
Visual Studio 2013 Pro
Goal of packaging an Android project without anything but UE4’s source code and any dependencies that Setup.bat downloads and required Android dependencies.
I realized that there appears to be very little if any documentation for building the required binaries for mobile platforms from source. Looking at Visual Studio’s Platform dropdown, I can see Android. Since the editor is telling me it’s missing “UE4Game-armv7-es2.so”, I tried building Developer Android, that failed. Then Debug Android, got the wrong file. Shipping Android? Also wrong file. DebugGame Android? Ah, now I have “UE4Game-Android-DebugGame-armv7-es2.so”. But this is not “UE4Game-armv7-es2.so”, and even if I was expected to rename it to the proper name, where is the shipping version?
- How do I build, or better, properly build Android’s “UE4Game-armv7-es2.so” from source?
- The Android build and editor indicate that the graphics backend is OpenGL ES 2.0. I know ES 3.0 is a big step up from 2.0 and supported on enough devices, and that 3.1 has at least partial source, but is barely supported right now. Why is there no ES 3.0 backend? (Maybe something to ask on AnswerHub?)
General engine-from-source questions:
- Is PhysX required, or is it just a value-added physics backend?
- When I try to debug the editor in Visual Studio, the debugger starts properly along with the editor (at the project selection window). But once I select a project, it seems to start a new instance of the editor for that project, thus closing the debugging session. How can I debug the actual editor? (I know I can attach the debugger, but if I want to debug the startup of the editor, I need to be a bit quicker then I probably can be to get to the menu item in time)
- Even with the prior question, when I try to package a project for any platform, it fails with “Input line too long” and fails. But when I start the editor directly, it packages without issue. Why might I get this issue and where might be a good location to start looking within the source for this?
- Is there any way to debug the “Programs” such as UBT or the AutomationTool, which have the same issue as #2?
Ok, #3 oddly does not appear to be happening since I re-cloned the repo (which didn’t change) and rebuilt it. It may have just been an outlier.