Sony PS5 and PS4 SDK integration: error C3861 "identifier not found"

Hi,
I am updating my setup from UE 5.5 to 5.6
I have Sony’s latest PS4 and PS5 SDKs installed, 12.500 and 11.000 within the version range required by to generate project files. Running GenerateProjectFiles.bat finishes successfully and leaves a log that the project files for these platforms were written:

Registering build platform: PS4 - buildable: True Registering build platform: UnrealBuildTool.PS5PlatformFactory PS5 Installed SDK(s): MinVersion_Sdk=10.00.00.48, MaxVersion_Sdk=11.00.99.99, CurrentVersion_Sdk=11.00.00.46, Version_AutoSdk=11.00.00.40, CurrentVersion_AutoSdk= Registering build platform: PS5 - buildable: True

However trying to build results in C3861 errors for PlayStation related classes. When I open the UE5 solution in VS2022 I can clearly see the headers/includes from the SDK are not being found. Ctrl+Click on these includes shows this message:

I’ve tried reinstalling the SDKs, updating Visual Studio etc… Anyone else run into this?
I had no issues previously with 5.5

Hi,

Can you check if you have the file: \Engine\Platforms\Sony\Source\Runtime\ApplicationCore\Public\SonyControllers.h

  • If you are using the UE GitHub distribution, you need to download the platform code zip for PS4/PS5/Sony form the developer portal (https://dev.epicgames.com/portal/en-US/)
  • If you are using Epic Perforce server, ensure you have synced the code under Engine\Platforms\Sony, Engine\Platforms\PS4, Engine\Platforms\PS5

Regards,

Patrick

Hi thanks for the reply, I actually solved it this morning. While I did have all the required files in the right places, it seems like the issue was caused by having multiple older installations of PS SDK that weren’t fully uninstalled. Using the SDK Manager and running “Uninstall All” cleared it and after reinstalling the latest SDKs I was able to build again. Leaving this here in case someone else runs into it in the future.

Thanks!