Packaging Error (Ensure condition failed: GetSuperClass() [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp] [Line: 1236])

For people getting this error , check out your warnings and resolve all warnings that are about inavlid characters in your functions/variables , for me it resolved the probleme .