I found a crash in Unreal Engine when editing the LayoutClass property of B_LyraUIPolicy.
The property is defined in UGameUIPolicy as:
UPROPERTY(EditAnywhere)
TSoftClassPtr<UPrimaryGameLayout> LayoutClass;
In Lyra, B_LyraUIPolicy uses this property to reference W_OverallUILayout, which appears to be the intended/default setup.
However, when I try to set or change LayoutClass in the Blueprint editor, the Unreal Editor crashes with the following error:
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10]
Cast of Package /LAbilitySystem/Widget/Frontend/BP_DefaultUIPolicy to GameUIManagerSubsystem failed
UnrealEditor_CoreUObject
UnrealEditor_CommonGame!UGameUIPolicy::GetOwningUIManager() [C:\Unreal Projects\GameAnimationSample\Plugins\CommonGame\Source\Private\GameUIPolicy.cpp:33]
UnrealEditor_CommonGame!UGameUIPolicy::GetWorld() [C:\Unreal Projects\GameAnimationSample\Plugins\CommonGame\Source\Private\GameUIPolicy.cpp:38]
UnrealEditor_UnrealEd
im trying on other project using Common Game plugin and get same crash