spatialos / UnrealGDK

SpatialOS GDK for Unreal Plugin

Home Page:https://docs.improbable.io/unreal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Public header has implicit private dependency.

JHuculak opened this issue · comments

UE_LOG(LogSpatialClassInfoManager, Warning, TEXT("UnrealMetadata native class %s unloaded whilst entity in view."), *ClassPath);

UnrealMetadata::GetNativeEntityClass is public-facing but has an implicit dependency on non-public files due to the log line on 79. Because this function is also marked with FORCEINLINE, this causes linking errors when trying to use this header as a dependency in an external module since the linker can't resolve the definition of LogSpatialClassInfoManager (as the reference is no longer isolated to the dll but leaks across module boundaries).

thanks for raising
will be handled through https://improbableio.atlassian.net/browse/UNR-2458