# Error when setting up ps5 support for Unreal Engine 5.2.1

**URL:** <https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [August 11, 2023, 8:40pm UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161 "2023-08-11T20:40:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GameMaker8YT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaker8YT](https://forums.unrealengine.com/u/GameMaker8YT)\
**Post date:** [August 11, 2023, 8:40pm UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/1 "2023-08-11T20:40:08Z")

</div>

Keep getting this error "Assertion failed: IsValid(Platform) [File:C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\RHI\Private\DataDrivenShaderPlatformInfo.cpp] [Line: 421]

0x00007ffc09661bd2 UnrealEditor-RHI.dll!FGenericDataDrivenShaderPlatformInfo::GetFriendlyName() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\RHI\Private\DataDrivenShaderPlatformInfo.cpp:421]  
0x00007ffb4b2aeab1 UnrealEditor-LevelEditor.dll!FLevelEditorCommands::RegisterCommands() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Editor\LevelEditor\Private\LevelEditorActions.cpp:3810]  
0x00007ffb4b29b4cb UnrealEditor-LevelEditor.dll!TCommands::Register() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Slate\Public\Framework\Commands\Commands.h:58]  
0x00007ffb4b2be512 UnrealEditor-LevelEditor.dll!FLevelEditorModule::StartupModule() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Editor\LevelEditor\Private\LevelEditor.cpp:274]  
0x00007ffbe5d6e9fb UnrealEditor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:650]  
0x00007ffbe5d6d634 UnrealEditor-Core.dll!FModuleManager::LoadModule() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:390]  
0x00007ffbe5d6d6ee UnrealEditor-Core.dll!FModuleManager::LoadModuleChecked() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:396]  
0x00007ffb2b09d867 UnrealEditor-ChaosCachingEditor.dll!IChaosCachingEditorPlugin::StartupModule() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Plugins\Experimental\ChaosCaching\Source\ChaosCachingEditor\Private\Chaos\ChaosCachingEditorPlugin.cpp:187]  
0x00007ffbe5d6e9fb UnrealEditor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:650]  
0x00007ffc0ba0f874 UnrealEditor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Projects\Private\ModuleDescriptor.cpp:696]  
0x00007ffc0ba260a4 UnrealEditor-Projects.dll!FPluginManager::TryLoadModulesForPlugin() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:2205]  
0x00007ffc0ba0f5cf UnrealEditor-Projects.dll!FPluginManager::LoadModulesForEnabledPlugins() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:2278]  
0x00007ff72f1f9635 UnrealEditor.exe!FEngineLoop::LoadStartupModules() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4629]  
0x00007ff72f1fcb58 UnrealEditor.exe!FEngineLoop::PreInitPostStartupScreen() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3934]  
0x00007ff72f1f4ddb UnrealEditor.exe!GuardedMain() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\Launch.cpp:140]  
0x00007ff72f1f50ba UnrealEditor.exe!GuardedMainWrapper() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]  
0x00007ff72f1f7df0 UnrealEditor.exe!LaunchWindowsStartup() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]  
0x00007ff72f20afd4 UnrealEditor.exe!WinMain() [C:\UnrealEngineSc\UnrealEngine-5.2.1-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:284]  
0x00007ff72f20e4e6 UnrealEditor.exe!\_\_scrt\_common\_main\_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe\_common.inl:288]  
0x00007ffc438355a0 KERNEL32.DLL!UnknownFunction []  
0x00007ffc439e485b ntdll.dll!UnknownFunction []  
"

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 12, 2023, 7:51pm UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/2 "2023-08-12T19:51:22Z")

</div>

Hey there @GameMaker8YT! It looks like the Platform validation check is failing for the DataDrivenShaderPlatformInfo.cpp. A couple questions!

Are you a Sony verified developer and is this build one of the console source builds?

---

<div class="post-metadata">

**Author:** ![GameMaker8YT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaker8YT](https://forums.unrealengine.com/u/GameMaker8YT)\
**Post date:** [August 13, 2023, 12:47am UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/3 "2023-08-13T00:47:33Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 13, 2023, 9:32pm UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/4 "2023-08-13T21:32:02Z")

</div>

In visual studio, there should be a platform selector near the top in between the build type, and the UE version. Is Ps5/Ps4 visible there?

---

<div class="post-metadata">

**Author:** ![GameMaker8YT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaker8YT](https://forums.unrealengine.com/u/GameMaker8YT)\
**Post date:** [August 16, 2023, 6:30am UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/5 "2023-08-16T06:30:03Z")

</div>

Yep, finally fixed it after a bit of reinstalling

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 16, 2023, 6:53am UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/6 "2023-08-16T06:53:38Z")

</div>

Awesome work! Commonly when this occurs either a module is missing or corrupted, so reinstallation was a good bet!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 15, 2023, 6:54am UTC](https://forums.unrealengine.com/t/error-when-setting-up-ps5-support-for-unreal-engine-5-2-1/1258161/7 "2023-09-15T06:54:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
