Blueprint error

Hi, i have this blueprint:

When i click to play the game inside Unreal Engine, the game works fine without any errors.
By, when i click to build the game, i got these errors:

I trying to resolve the first error firts, from the anexed blueprint
How i can solve this?


Update / Fix Redirects

Right click on your content folder and Fix / Update redirects.

Try going into BP_PauseMenu, BP_CameraRestrictor and see if it has an error. If so try to recompile it.

Did you have an old player character or something that you deleted?

If you pressed “force delete” its essentially just broken unless you understand pointers on a level that you can open open all the files in c++ and fix them

Broken redirectors

If you didnt do that, good news you should just be able to right click the node and choose refresh or delete it and put the castto node back in place

If you did and arent an expert on c++, pointers and redirectors then bad news its easier to make a whole new project and copy everything over

I did what you recommended, I had two broken references, but from other images that I am no longer using in the project.
However, the error mentioned in the print still persists there.

I did what you recommended, I had two broken references, but from other images that I am no longer using in the project.
However, the error mentioned in the print still persists there.
…

Check for broken cast nodes inside of BP_PauseMenu & BP_CameraRestrictor
Try going into them and refreshing the nodes

See if that causes the compile error to show which casts are bad.

1 Like

Unfortunately it hasn’t been resolved yet

If nothing said above works youll have to make a new project

-Fix up redirectors
-Refresh nodes
-create a bp with the same name exactly and hope

Those steps fail you have no choice but to dig into the c++ code and fix it or copy it to a new project unfortunately