Using UVariant from C++

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] {

Is there an issue with the classes exported from those modules?

There is another error (maybe related) with UVariantManagerBlueprintLibrary. I get a linker error when trying to use it. I suspect it is not correctly exported with VARIANTMANAGER_API