Basic Fortnite Pre-Checkin Testing

Process to test code changes that can affect Fortnite.

Windows
MacOS
Linux

If you are making a large change and would like to test it on Fortnite, cooking will load all of the important data in Fortnite and will also help test issues with texture/shader cooking and platform support.

  1. Compile a Development build of FortniteGame on Win32 and FortniteEditor on Win64.

  2. Cook the AITestBed map as well as all submaps that are needed using this command:

    Engine/Binaries/Win64/UE4Editor.exe FortniteGame -run=CookCommandlet -Map=AITestBed -TargetPlatform=WindowsNoEditor -UnVersioned

    This will take about 20-35 minutes. The command goes back to the console prompt and works in the background without any status update.

  3. Launch FortniteGame using the Win32 platform along with the data you just cooked using this command:

    FortniteGame/Binaries/Win32/FortniteGame.exe AITestBed -sandbox=Cooked-windowsNoEditor

    It may take a few minutes to load the map fully as it streams in many sublevels.

  4. Perform some basic gameplay tests. Your character should be fully visible and animating. You should be able to knock down a tree or wall and gain a resource. You should be able to hit F1 to select a wall and place one somewhere in the world. If you pass that test, cooking is probably working well with your change.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback