I just got this same error a few minutes ago. This the solution I found. Here is how you have to instantiate objects derived from UObject:
UQuizQuestion *question = UQuizQuestion::StaticClass()->GetDefaultObject<UQuizQuestion>();
I just got this same error a few minutes ago. This the solution I found. Here is how you have to instantiate objects derived from UObject:
UQuizQuestion *question = UQuizQuestion::StaticClass()->GetDefaultObject<UQuizQuestion>();