Unknown ObjectSerializationError on running game executable

When trying to run a packaged project i get the following error (see screenshots)


Screenshot 2022-05-06 170331

Now this only happens when i package the project with a Blueprint derived from my PlayerCharacter C++ class. I don’t really understand what’s going on.

Things i have tried:

  • Reinstalling the Engine.
  • Re-cloning the project from VCS.
  • Creating a new empty Blueprint derived from the class.
  • Using the PlayerCharacter class instead (the game runs fine here)

Any help is appreciated.

Hello , please try delete following folders in your project

  • Binaries
  • Build
  • DerivedDataCache
  • Intermediate

And open up project, choose yes to rebuild your project
Refresh your visual studio project afterwards too.
Ensure you are cooking correct binary sources in build target.

And it should work!