Search Issue Tracker

Fixed

Fixed in 1.0.17

Votes

0

Found in [Package]

1.0.8

Issue ID

N4EBUG-4

Regression

No

OwnerPredicted Ghost doesn't pass the ICommandData Component when GhostOwner is changed to match the Client ID

Package: Unity Netcode

-

How to reproduce:
1. Open the “GhostOwner_Id_Bug“ project
2. Open the “SampleScene”
3. Enter Play Mode and wait until the “Controllable” Entity appears in the Game view
4. Press the “S” key then hold down the space bar
5. Observe the Game view

Expected result: “Controllable” Entity moves up
Actual result: “Controllable” Entity stays in place

Reproduced with: 1.0.8 (2023.1.0f1), 1.0.10 (2022.3.2f1)
Could not test with: 1.0.8 (2022.3.2f1) (Runtime scripting errors)

Reproduced on: macOS 13.4 (M1) (by reporter), Windows 11

Notes:
1. Reproducible in Player
2. Not reproducible when line 52 in “NetEntitiesFactory“ Script is uncommented
3. When inspecting entities in the Entities Hierarchy, the “Player” and “Controllable” Ghost Entities appear to have the same values in the “Ghost Id” Ghost Instance Component and in the “Network Id” Ghost Owner Component

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.