Unreal Engine crash on cast class

I receive this error on open two specific blueprint. In one of those there are a cast of other blueprint.
I don’t know what to do…

Fatal error: [File:D:\Build++UE4+Release-4.14+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 11]
Cast of LinkerPlaceholderExportObject /Game/AnimStarterPack/Ue4ASP_Character.Ue4ASP_Character_C:TP_Fucile1_GEN_VARIABLE.TP_Fucile1_GEN_VARIABLE_Fucile1_C_CAT to Actor failed

You are destroying the blueprint and then casting to your character. Move the destroy node to the very end of your execution path!

Also, to make your question easier to read for other people, please can you remove the huge error message? :slight_smile:

Thank you but I’ve tried yet. Same problem :slight_smile:

Hello MasterOblivion,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you try adding an is valid check on the “Hit actor” that is being used before trying to cast?

Hello MasterOblivion,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.