Fusion.GameMode.Single and PlayerRef.None

Options

When the game run on GameMode.Single, Localplayer is PlayerRef.None so !player.IsNone && player.IsValid failed.

It is intented to be None player when GameMode is Single?

Best Answer

  • prof_troller
    Answer ✓
    Options

    PlayerRef.IsValid was false because HostMode is default and GameMode.Single act like host mode.

    I didn't think about that because i was working on shared mode...

Answers

  • prof_troller
    Answer ✓
    Options

    PlayerRef.IsValid was false because HostMode is default and GameMode.Single act like host mode.

    I didn't think about that because i was working on shared mode...

  • MuhammadAhmed
    Options

    I am also on the same track could you please tell me how can I go from single player to Shared Game Mode.