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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 0.4.0):
Package available in Unity 2020.1.2f1 and above