Find session "never" fails (or always fails)

Find session “never” fails… or always fails depending on how you look at it.

I want to create a new session.
1-If none exist.
2-If there is a maximum number of players

I am trying it with this code (In Game Mode)

However Find Session always succeeds but returns an empty array…

I expected that at least the first time it should fail. But that doesn’t happen.

I think that maybe there is a default session created by the engine through the back door and that it should be destroyed first.

-If this is true, I don’t know how to do it.
-If this is not true I don’t know what the problem is.

What can I do?

Thank you so much!!

In case someone has the same problem…
Doing it like this can apparently “simulate” that find session works!!


2

Need to do more tests to verify this!!

1 Like