Search Issue Tracker

Active

Votes

0

Found in [Package]

1.2.0

Issue ID

MTTB-1710

Regression

No

Crash after referencing another Client's ISession object sent via RPC call

Package: Multiplayer Services

-

Steps to reproduce:

  1. Open the attached project
  2. Open the MainMenu Scene
  3. Open the Multiplayer Play Mode Window and start a Virtual Player
  4. Enter Play mode
  5. In the Game view, enter a Player name and press Enter (This will enable the "Play Now!" button)
  6. Press the "Play Now!" button (This will transition the menu to the lobby screen)
  7. Repeat steps 5 and 6 in the Virtual Player window

Actual results: A crash occurs when the second client (The virtual player) joins the session

Expected results: Editor/Player does not crash. An error is displayed if referencing another client's ISession object is not permitted

Reproducible with versions: 1.1.0 (6000.0.59f1, 6000.2.10f1), 1.2.0 (6000.3.0b8, 6000.4.0a4)

Tested on (OS): macOS 26.0.1

Notes:

  • In the reference project, the ISession object is passed via RPC call from the host to the client using a structure that inherits INetworkSerializeByMemcpy interface
  • Tested by calling ISession.CurrentPlayer and ISession.PlayerCount

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.