Hi, I’m trying to use scene variants in C++. My code doesn’t compile because appearently: “use of undefined type ‘UVariant’”.
I have included the header in my .cpp file (as suggested in the documentation)
#include "Variant.h"
And included the relative modules in ProjectName.Build.cs
PublicDependencyModuleNames.AddRange(new string] {
"Core",
"CoreUObject",
"Engine",
...
"VariantManager",
"VariantManagerContent",
...
});
Is there an issue with the classes exported from those modules?