Why casting needs to delay on Dedicated server?

Why casting needs to delay on Dedicated server?

i mean i want to cast GameInstance, Game Controller or Game Mode all that thinks need to delay beforce cast it. do you have any solution about it?

1 Like

Who said you need a delay for casting? :sweat_smile:

Especially GameInstance is an Object that is Spawned before any other actor exists so… There is no need for a delay…

1 Like

if not add delay then cast failed.
What should i do?

1 Like

Might be a dumb question, but did you set your BPGameInstance in Project Settings > Maps and Modes section as the Game Instance Class? I assume that you did because otherwise the delay should not change things, but just to be sure…

Does the Cast itself fail or is just the value of Player Count In Instance wrong when printing?

1 Like

Cast itself is failed without add Delay

1 Like