For reference, so far I have taken these steps to narrow down issue:
-
Removed UMG classes + all references to UMG classes
** It did fix compilation, so I added like 30 UPROPERTY()s to a class, which resulted in previous error -
Stripped all property specifiers from all UPROPERTY()s, UFUNCTION()s, UCLASS()s and USTRUCT()s, which did not fix compilation, same error
-
Fix the circular dependency in DataContainers.h by changing any class references to base UObject references, so that no custom class was referenced via forward declaration. Which did not resolve the circular dependency
-
in a test project I created a few classes, then added the same number of UPROPERTY()s, UFUNCTION()s, UCLASS()s and USTRUCT()s, but it did not result in any error. The project was empty of any logic, which may have made a difference, as the error is centered around class references (to include engine classes like ACharacter pointers).