NewObject() not rendering StaticMesh
Uploading: image.png…
ReRegister only works if it is already registered:
reference:
void UActorComponent::ReregisterComponent()
{
if (AllowReregistration())
{
if (!IsRegistered())
{
UE_LOG(LogActorComponent, Log, TEXT("ReregisterComponent: (%s) Not currently registered. Aborting."), *GetPathName());
return;
}
FComponentReregisterContext(this);
}
}
Can you check in Visual Studio (by setting breakpoints) if it fails?
1 Like
Thanks for your reply, I have found the problem.