Hello,
Thanks for the fix!
One issue. It’s not enough to:
RepLayoutMap.Remove(Level->LevelScriptActor->GetClass());
You should also remove all replicated functions/events:
for (auto Func : TFieldRange(LevelScriptActor->GetClass(), EFieldIteratorFlags::ExcludeSuper))
{
if (Func && Func->HasAnyFunctionFlags(EFunctionFlags::FUNC_Net))
{
RepLayoutMap.Remove(Func);
}
}
LMK if it makes sense.
Cheers,
M