Unable to build the PS5 project due to errors related to SaveData and PSN packages

PS5 Build Issue Report

Summary

Unable to build the PS5 project due to errors related to SaveData and PSN packages.

Environment

  • SDK: Prospero SDK 12.000
  • Unity: 6000.0.64f1
  • PSN Package: com.unity.psn.ps5 version 1.4.0
  • SaveData Package: com.unity.savedata.ps5 version 1.1.4
  • Target Platform: PlayStation 5 (PS5)

Issue 1: SaveDataCore.h:28:28: warning: comparison between NULL and non-pointer (‘char’ and NULL) if (data[i] != NULL) Backup.cpp:28:13: warning: ‘sceSaveDataBackup’ is deprecated int ret = sceSaveDataBackup(&del);

Issue 2: PSN Build Errors
error: no type named ‘string’ in namespace ‘std’; did you mean ‘String’? static int GetProfilesInternal(std::string accountIds, WebApiUserContext* user, …) error: out-of-line definition of ‘GetProfilesInternal’ does not match any declaration in ‘psn::UserSystem’ error: out-of-line definition of ‘GetBasicPresencesInternal’ does not match any declaration in ‘psn::UserSystem’

Please also provide the latest versions of com.unity.psn.ps5 and com.unity.savedata.ps5, including the download links

I think you should post this in the PS5 sub-forum.
At sony’s playstation 5 forum you can read how to get access to it.

Console SDKs and the related Unity packages are under NDA. You should remove that post and ask again in a closed forum (see above).