I’ve added the ‘ActionDomainOverride’ to a Blueprint (BP) that inherits from ‘CommonActivatableWidget,’ but it isn’t loading.
Upon checking the following line within the function TObjectPtr<UCommonInputActionDomain> UCommonActivatableWidget::GetCalculatedActionDomain():
UCommonInputActionDomain* CurrentActionDomain = CurrentActivatable->GetOwningLocalPlayer() == OwningLocalPlayer ? CurrentActivatable->ActionDomainOverride.Get() : nullptr;
The debug information shows the following for CurrentActivatable->ActionDomainOverride.Get():
+ CurrentActivatable->ActionDomainOverride.Get() 0x0000000000000000 <NULL> UCommonInputActionDomain *
+ CurrentActivatable->ActionDomainOverride nullptr ({AssetPath={PackageName="/Input/DA_LobbyInputDomain" AssetName=...} ...}) TSoftObjectPtr<UCommonInputActionDomain>
The file’s path is being found, but it is not being loaded, resulting in a null value.
Does anyone know the reason why it isn’t loading?
I believe it’s a problem that I have to manually load the DA_LobbyInputDomain file, even though once I open it in the editor it gets loaded into memory and works fine from then on.
