Search Issue Tracker

Fixed

Fixed in 2.2.1

Votes

0

Found in [Package]

2.2.0

Issue ID

MTTB-959

Regression

Yes

"NullReferenceException" error appears on the server's Console with each input coming from the client when the "NetworkTransform" is used

Package: Multiplayer Netcode for GameObjects

-

Reproduction steps:
1. Open the attached “repro_IN-90743“ project
2. Open the “Assets/Scenes/Scene_Lobby.unity“ Scene
3. Build and run the project (“File → Build And Run“)
4. In the Editor, enter the Play Mode and press the “Start Host“ button
5. In the Player, press the “Connect Client“ button
6. Move around with the mouse or press one of the “WASD“ buttons on your keyboard
7. Observe the Console in the Editor

Expected result: No errors appear
Actual result: “NullReferenceException“ error appears after each input in the Player

Reproducible with: 2.0.0-pre.1 (6000.0.36f1), 2.2.0 (6000.0.36f1, 6000.1.0b4, 6000.2.0a1)
Not reproducible with: 1.12.1 (2022.3.56f1), 2.0.0-exp.5 (6000.0.36f1)

Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested

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.