Hello,
From SmartObjectSubsystem, I see some parts talking about replication like here :
/**
* A map of registered smart object handles to their associated runtime data.
* Client side Smart Object Subsystem's will only have runtime data
* for Smart Object Components who enable replication, but server subsystems will have all smart object
* data.
*/
UPROPERTY(Transient)
TMap<FSmartObjectHandle, FSmartObjectRuntime> RuntimeSmartObjects;
And then
bool USmartObjectSubsystem::ShouldCreateSubsystem(UObject* Outer) const
{
if (Super::ShouldCreateSubsystem(Outer))
{
if (const UWorld* OuterWorld = Cast<UWorld>(Outer))
{
return OuterWorld->IsNetMode(NM_Client) == false;
}
}
return false;
}
How can we retrieve SmartObjectRuntime on client side ? If we need asynchronous RPC call each time it will be complicated…