Search Issue Tracker

Fixed in 0.4.0

Votes

1

Found in [Package]

0.3.0-preview.3

Issue ID

1273243

Regression

No

[NetCode] Entity is not rendered and Rotation values are NaN when GhostComponentAttribute.SendDataForChildEntity is set to true

Package: Unity Netcode

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Wait for the Cube to appear in the Game View
4. Open the Entity Debugger (Window->Analysis->Entity Debugger)
5. In the Entity Debugger, from the Systems list, select the RenderMeshSystemV2
6. From the RenderMeshSystemV2, select "ChildCube" Entity
7. In the Inspector, observe the Entity's Rotation values

Expected result: Entity is rendered and Rotation values are based on the parent (0, 0, 0, 1)
Actual result: Entity is not rendered and all Rotation values are NaN (NaN, NaN, NaN, NaN)

Reproducible with: 2019.4.9f1, 2020.1.5f1 (0.3.0-preview.3)
Couldn't test with Unity: 2018.4.27f1 (NetCode package is not available), 2019.4.9f1 (reproducible package version is not available), 2020.2.0b2 (because of case 1273158 bug)
Couldn't test with package 0.2.0-preview.5 and below (Missing Script references)When setting SendDataForChildEntity = true for Translation and Rotation, Rotation Values on the Client are NaN

  1. Resolution Note (fix version 0.4.0):

    Package available in Unity 2020.1.2f1 and above

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.