As a general rule, you should never update any software in the middle of a project. This applies to everything from your OS to your specialized filmmaking software and everything in between. Unreal Engine is no different in this respect; updating between projects is always the recommended timeframe.
Major updates, such as from UE 4 to UE5, involve a much larger change to the engine and could render your project unopenable or require you to make major changes. It is important to approach these updates with the proper amount of care.
Updates also arrive with new features, so if you need a specific feature to complete your project or plan on taking advantage of the latest advances in technology, then updating is essential for getting the most out of Unreal Engine.
If the new features or improvements offered by an Unreal Engine update are so promising that you feel compelled to perform the update, then make sure to take the necessary precautions before you begin.
Updating Unreal Engine is crucial for maintaining optimal performance but can be a risky process if performed without understanding all the options and implications. For most users, creating a second installation will be the preferred choice. It allows for maximum flexibility, and the only downside is that it requires additional storage capacity.
Yes, it is possible to update your engine without losing work on an existing project. However, this approach is not advised. If you do choose this method, make sure your project is backed up before making any changes.
Some common errors when updating include compatibility issues with plugins or custom code used in projects and missing dependencies needed for proper functioning. To avoid these issues, make sure all third-party tools used within your projects are updated alongside unreal engine updates & double-check system requirements before implementing any updates into production use.
Unreal Engine 4.25 and later uses the Android Software Development Kit (SDK) distributed with Android Studio for all essential Android development components, including the Android Native Development Kit (NDK) . This page provides a walkthrough for setting up Android Studio and ensuring that Unreal Engine recognizes these components correctly, and some troubleshooting tips for managing NDK installations and earlier engine builds.
Due to an update to the Android SDK Command-line Tools in February 2023, users on Unreal Engine 4.27 through 5.1 need to edit the SetupAndroid script used in this tutorial. If you are experiencing problems with NDK setup, refer to the section on setting up Command-Line Tools for Android for more details.
You should make sure that the Unreal Editor and the Epic Games Launcher are both closed to ensure that there are no problems with either the installation of NDK components or setting your environment variables for the engine.
If you are upgrading from Unreal 4.24 or earlier, we recommend that you uninstall CodeWorks for Android and any existing NDK components, and delete the folder CodeWorks was installed to. Otherwise, Android Studio will continue to use the previous CodeWorks installation folder for SDK updates.
If you need to support an earlier installation of Unreal Engine while also maintaining an installation of Unreal 4.25 or later, refer to the sections on Manually Targeting SDK Paths and Android NDK Compatibility below.
Navigate to the Android Studio Archive in your web browser. Scroll down to Android Studio 4.0 , click to unfold the dropdown, and download the appropriate installer or zip file for your operating system.
When the Data Sharing dialog appears, choose whether or not you want to send usage statistics to Google. This is an option you may choose at your discretion, and either choice will continue to the next step.
The Android Studio Setup Wizard will appear. Click Next to continue. If you are prompted for an update, click the X button to dismiss the prompt, as you need to specifically install version 4.0.
In the Verify Settings dialog, check to make sure that you are using the default SDK path. Click Finish to finalize your setup and begin downloading components.
Unreal Engine's Android SDK setup depends on Command-Line Tools for Android version 8.0 . Before moving on to finalize the installation, you need to make sure this version is installed and that UE's SetupAndroid script is targeting it correctly.
Originally, the SetupAndroid script targeted the Latest version, which referred to 8.0 . Due to an update in February 2023, Latest now refers to 9.0 , and you will need to re-target 8.0 manually if you are using a version of Unreal Engine that depends on it. This is required for UE 4.27, 5.0, and 5.1. The steps below take this into account and will walk you through fixing the SetupAndroid script.
In the Welcome to Android Studio dialog, you will see a prompt in the lower-right corner asking to update your Android Studio to the latest version. Hover over it and dismiss it without updating. This will reveal the Configure and Get Help dropdowns.
Inside this directory, locate the SetupAndroid script appropriate for your operating system. SetupAndroid.bat is for Windows, SetupAndroid.command is for Mac, and SetupAndroid.sh is for Linux.
After completing all of the above steps, you need to finalize your installation to make sure your environment is fully set up before proceeding. Each operating system requires a different step to finalize installation.
Inside this directory, run the SetupAndroid script appropriate for your operating system. SetupAndroid.bat is for Windows, SetupAndroid.command is for Mac, and SetupAndroid.sh is for Linux.
This script will download and install the required version of Android NDK for you in your Android home directory. The install directory for NDK should be C:/Users/[Username]/AppData/Local/Android/SDK/ndk/ , where "username" is your login name for your computer. You should see a folder containing the required NDK version.
In the event that you receive an error stating that repositories.cfg cannot be loaded, navigate to the folder where it is expected (usually C:/Users/[Username].android/repositories ) and create an empty repositories.cfg file. Android setup should then proceed normally.
If you followed the above how-to sections without encountering problems, Unreal Engine will automatically associate the SDK paths for the Android SDK, the current Android NDK version, and the Java Development Kit (JDK). However, if you are using an earlier version of the Unreal Engine alongside Android Studio, you may need to manually target your SDK paths to be compatible. This is most likely to be the case if you have an installation of Unreal Engine alongside an earlier version that used CodeWorks.
Do not install CodeWorks and Android Studio at the same time, otherwise you will receive errors. If you need to support an earlier version of Unreal Engine alongside 4.25 or later, use the Android Studio setup in this document, then follow the instructions in this section to target the path for the version of Android Studio you need.
When these fields are left blank, they fall back on a set of default paths used by the installation process in the previous sections. If you have multiple installations of these components, or have installed them in non-standard directories, you can manually provide their paths here. Alternatively, you can open DefaultEngine.ini and provide them under the [/Script/AndroidPlatformEditor.AndroidSDKSettings] section.
Up until recently, my solution was a plain Git repo with fileshare-based LFS store. This worked great for quite awhile, but this year we switched to using Unreal Engine,one of the consequences of which is having to manage a lot more binary files,and a subsequent increase in the risk of creating accidental unmergeable changesby people editing something in parallel.
That meant that we really needed locking support - the ability to exclusivelyreserve edit access to a certain file. This is something older version controlsystems used to do for everything, before merging became more reliable,but binary files remain inherently unmergeable. Unreal has built-in support forlocking / unlocking files during editing, so ideally we wanted to support thatworkflow.
The easiest way to get up and running quickly is to use Docker.Specifically, use docker-compose to configure everything - this makes itreally easy to create test containers if you want and to version control yoursetup configuration.
If you maintain branches like this then you need to tell the plugin how to checkall of them for outdated versions before you can lock, and not just the current branch.See the Git Plugin Status Branch Documentationfor details.
Both allow you to force unlocking if you want, but be careful about doing this.You could cause someone to lose their changes, and read-only attributescan get out of sync if you unlock from somewhere other than the working copy thefile was locked in.
I use a combination of gitea dump and rsync for backups - the former backs upthe DB and Git repos to zips, the latter syncs LFS data. The backup data goes to both a secondserver for local recovery and to Backblaze for offsite backups (encrypted).
Obviously I scripted the recovery process. Given a snapshot,my restore scripts can re-build the entire Docker container from scratch. I used itto move my original install to a completely separate server, so that was agood test of it.
The NVIDIA ACE plugin allows your Unreal application to communicate withexternal NVIDIA ACE services. The ACE Plugin supports using theAudio2Face service (minimum v1.0) to animate your character by sendingthe service voice audio you provide and receiving audio and animationdata back.
ff7609af8f