'Bad cast node' - Shootout Example / Find sessions fail

Hey guys,

So I wanted to replicate the multiplayer part of the Shootout Example that Unreal provided.
Now I’m running into a problem. When in the editor I can host a sessions and then find it from another window.
When I’ve packaged my project (development) I can host a sessions but when I try to find sessions in another window it instantly fails on ‘Find Sessions’. I don’t know where the problem lies but there’s one thing… The Shootout Example has a ‘Bad cast node’ along with the cast to its GameInstance.

Can anyone explain what the ‘Bad cast node’ is/does and how to get it into my Blueprint. And could this be the cause of the failures on find sessions?

Here is a picture of my blueprint;

And here’s the ‘Bad cast node’ in the Shootout blueprint;

Thank you for your help

Thank you for your reply. I can’t find the ‘bad cast node’, so I can’t include it. I have no idea where to get it from

This node has an execution input/output (the white line), and it must have an input connection to work.
Just include it before/after the other cast in the white line and you are good.

Ooh, I didn’t see the name of this cast node! That happens when you change/copy code and the class is missing, so your “cast to” does not know what to cast. It usually means you need to delete the node and insert a new, correct cast. It seems you already added the correct “cast to XX” node, all you need to do now is delete the old “bad cast node” and you are good.

Thanks . Kind of weird that Unreal has the Bad cast node in their twitch training video. Take a look at this one: Blueprint Multiplayer Shootout Game | Live Training | Unreal Engine - YouTube

true that, I suggest you comment on that on youtube

If you want to get rid of this instant failure in Create Session Node then you have to add new lines in DefaultEngine.ini config file. You can find information about that on this page, section “Configuration Settings”.