Hello,
While investigating another issue I’ve noticed that EInternalObjectFlags in ObjectMacros.h and UnrealEngineTypes.cs are out of sync with each other in UE 5.6.1.
https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMacros.h
https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Programs/Shared/EpicGames.Core/UnrealEngineTypes.cs
Not sure if this is going to cause any issues, but since there’s a pretty imperitive comment above them that they must be in sync, it feels like it could.
Many thanks,
David
Hi,
Thanks for reporting. The code is also like that in the main branch for quite some time, so that’s strange that we didn’t notice something. So I checked the usage of EInternalObjectFlags in the C# code. The enum is used in UhtInterfaceClassParser and UhtObject. In UhtObject, the enum is set to None, which is correctly 0 in both C#/Cpp… and the UhtInterfaceClassParser doesn’t seem to be used anywhere unless it is used indirectly (which is possible). I have asked internally if my understanding if right. I’ll keep you posted.
Regards,
Patrick