UE 4.26 Switch Build Fails exit code 0xC0000005

After a little more investigation I believe I’ve spotted the problem - we changed the way platform support is added to the integration in UE4 4.25, in line with similar changes Epic made to the engine, it looks like our docs got left behind though so the install instructions don’t describe this correctly for 4.25 and above.

I will make sure the installation guide in our docs gets updated for the next release, in the meantime I hope the correct instructions should get you unstuck.

As of UE4 4.25 the integration packages are split into two categories:

  1. The base integration package - Windows, Mac, or Linux.
  2. Platform specific integration packages for each console platform.

When installing the integration you need to install at least the base integration package for the platform you develop on, and then the packages for any additional platforms you are supporting.

The base integration packages should be extracted to MyGame\Plugins (replace MyGame with the root directory of your UE4 project). After extracting the base package into MyGame/Plugins you should have this kind of structure:

MyGame
+--- Binaries
+--- Config
+--- Content
+--- Plugins
     +--- FMODStudio
+--- Source
+--- MyGame.uproject

If you are adding multiple base integration packages extract all of them into MyGame\Plugins in any order. Files which are duplicated between the base integration packages can be overwritten.

When adding addition platform specific integration packages you should extract them directly into MyGame. After extracting them you should have this kind of structure (using Switch as an example):

MyGame
+--- Binaries
+--- Config
+--- Content
+--- Plugins
+--- Platforms
     +--- Switch
          +--- Plugins
               +--- FMODStudio
+--- Source
+--- MyGame.uproject

Looking at the projects you sent through it looks like you tried to follow our installation instructions and dragged the FMODStudio folder out of the Switch integration package into MyGame\Plugins. To fix this up the easiest thing to do is probably delete the MyGame\Plugins\FMODStudio folder and then follow the instructions I’ve given here to install the base integration package and Switch platform integration package.

Let me know if this doesn’t make sense, or if you’re still having trouble afterwards!

1 Like