No Cast to MyCharacter

So im trying to follow a tutorial on making a simple loading screen, though there is no option to cast to my character and casting to character just results in errors, am I doing something wrong?

Hey (: Make sure you click on the little Check box on the upper right corner saying “Context Sensitive”.

Also the Cast Nodes will only be available if you drag the “Other Actor” pin into an empty space of the event graph.

I’ve tried that, sadly it wont show up

1 Like

Ok, then we need to go through a small check list:

  • What version of the engine are you using?
  • Please press “Compile” on the upper left corner for your current BP and the Character BP
  • Make sure that your Character BP doesn’t have any spelling errors
  • Does this also appear in a new and fresh created BP?
  • Can you find the “Cast to MyCharacter” in other BP then the one you are showing me?
  • If yes, can you try copy pasting the Cast Node into that BP?
  1. Unreal Engine 4.7.2
  2. Done so, no changes at all
  3. Not sure what you mean by that
  4. Doesnt appear in any new blueprints
  5. Nope
    I think the engine just hates me.

Ok, does this error appear in a new project?

If not, then we can narrow it down to that specific project.

Can you also try to create a second Character BP, compile it and try to search its Cast to node? Maybe only the MyCharacter BP is broken (:

Both dont work, is there maybe another way to handle a simple loading screen that doesnt need the cast to mycharacter?

Haven’t created a loading screen yet. But that you can’t cast your Character BP is a bit strange.

You also didn’t answer my question about the new create test project (:

I created a new project with the first person template and still didn’t work

Ok now it is getting weird. :smiley:

Please make sure that you did this the same way:

“Add New” → “Blueprint Class” → “Select Character”:

http://puu.sh/gB3Oo/886919fbdf.png

→ “Name it MyCharacter”

http://puu.sh/gB3QQ/cde4bb120b.jpg

→ “Save and compile the new BP” → “Go into a different BP, like the PlayerController” → “Get Player Character” → “Try to find the Cast to MyCharacter here”:

http://puu.sh/gB3VE/e3380c8299.png

If you don’t get the Cast to here, then i would recommened you to verify your Engine Installation:

http://puu.sh/gB3XI/baf3f6b257.png

Or maybe redownload it completely. If this still doesn’t fix the error, please create a new Question with all information you have gathered here in the “Bug Reports” section of the AnswerHUB.

Yes it worked, thank you!

Are all you problems solved now? Then i will mark this question as resolved.

I am having another cast related problem if you could help me with it, for some reason the cast to myhud fails

Did you set your “MyHUD” to your Default HUD Class in the Project Settings?

Dont think so, how would I go about doing that?

On the upper left corner of the Editor, there is the tab “Edit”.

There you selected “Project Settings”:

http://puu.sh/gBHHz/26511a2fee.png

Now you click on “Maps & Nodes” on the left side:

http://puu.sh/gBHKW/e7df38629d.png

And here you select your MyHUD Bp under “HUD Class”:

http://puu.sh/gBHN8/2005c3c122.png

If you can’t edit it, you need to create a GameModeBP the same way you create the other BP by choosing “GameMode” in the list.

After that you add the GameModeBP in the same window where you should add the HUD Class. After that you can add the HUDClass too.

It worked! Thanks again for helping me, Just need to figure out how to save the score and pickups when changing levels and making triggers only work when you reach a certain score.

Hi, I also have blueprint nodes missing from my drop down list - in particular Cast To FirstPersonCharacter. Can you explain what you did to fix yours? I did an install verification (UE4.26.2) but nothing changed.

1 Like

im having this issue now! There is no “Cast to firstpersoncharacter” in my BP and I dont know why!

1 Like

I have same issue. Can’t cast to player. What is this? UE 5.0.3

image