Fatal Error While Packagaing : Failed To Cast Class

Hi guys,
I am having a problem since upgrading to 4.8 Preview, every time I goto package my game i get a Fatal Error with not much info, all I am getting is the following.

Fatal error:
[Line: 11] Cast of Class
to BlueprintGeneratedClass failed

Playing in editor and standalone from editor works perfectly, I get this error when packaging Development and Shipping.

Any Suggestions would be greatly appreciated.

Bump. Having the same issue. This is blocking us from moving forward.


In order to better assist you with the error that you’re having while packaging, I’m going to need the full package uploaded to the next reply. I’d also like to know which version of the engine you’re working within, and how you obtained the engine? Was it through the Epic Games Launcher or through GitHub? Please provide me the steps you’re taking to package your game as well.

Looking forward to hearing back from you, thanks!

Hey guys, I managed to fix the issue yesterday turns out it was an older blueprint that was causing issues, I found it by filtering only for BP and attempting to open each one, the one a fault caused the editor to crash even by just right clicking it.
To remedy I deleted the .uasset and now all is fine and packaging.
I was using the Github build of 4.8 preview.

Hey DylserX,

Thank you for letting us know that the issue you were previously experiencing has since been fixed by deleting a .uasset. If you have any further questions, please do not hesitate in contacting us again!


Hey DylserX,

Thanks for letting us know that deleting a .uasset has fixed the issue that you’re experiencing. If you have any further questions, please let us know.

Have a wonderful day!