Until blueprint open, cast node does not exist

do u compile and save blueprint?

I’m using UE4.4.3.

I tryed cast to using “GetGameMode” to, “MyGame” at a level blueprint.

But search context, cast node did not exist.

Open the “MyGame” blueprint, and try a similar case, cast appeared.

This is a bug?

Yes. I have completed save and compile. It is next startup.

Wait a second.

Did you open your MyGame BP before you tried to cast inside Level BP?

Can you cast your MyGame BP after you opened it for first time or at all?

Have you pressed compile button after creating MyGame BP at least once?

And majestic question of epic: Does this error appear in a new Project?

Hey alwei,

I haven’t been able to reproduce this issue. If I create a new GameMode BP, I can drag off a Get Game Mode node and type “cast” or name of new GameMode BP and it appears in menu, without ever opening or saving or compiling new BP. As eXi asked, does this happen in a new project?

To and eXi.

I have created a new project from a third person template.

Without touching the “MyGame BP”, open level blueprint only.

Cast node does not exist in this state.

In after opening the “MyGame BP”, cast node also exist without a problem.

Symptoms will also occur at next startup.

Hey alwei,

Okay, I was able to reproduce issue you described. It looks like Get Game Mode isn’t recognizing existing GameMode BPs. I tested same thing in 4.5 Preview, and it looks like it has already been fixed. If you decide to stick with 4.4.3, any Cast node attached to Get Game Mode will remain in BP, so you shouldn’t lose any work between editing sessions. Thanks for report!

Hey .

Where I also tried with 4.5 problem did not occur.

It is possible to avoid it by using most recent version, I will not be worry about anything.

Thanks for your help!