Download

Uproject launch fails to find custom game instance and animinstance

I’ve created a custom game instance and animinstance through c++, when creating a packaged build everything works, when running in editor everything works, however right clicking the uproject file and selecting launch i get these errors

CreateExport: Failed to load Parent for BlueprintGeneratedClass
[2021.04.14-16.28.49:976][ 0]LogLinker: Warning: CreateExport: Failed to load Parent for B/Game/BlueprintGeneratedClass
[2021.04.14-16.28.49:976][ 0]LogLinker: Warning: Unable to load Default__BP_ with outer Package because its class does not exist
[2021.04.14-16.28.49:977][ 0]LogLinker: Warning: CreateExport: Failed to load Parent for BlueprintGeneratedClass
[2021.04.14-16.28.49:978][ 0]LogEngine: Error: Unable to load GameInstance Class

any help would be appreciated, thanks