Search Issue Tracker

In Progress

Votes

0

Found in [Package]

netcode-1.8.0

Issue ID

MTTB-1554

Regression

No

"GhostElement" compilation errors occur when a component contains a ghosted "FixedList512Bytes<Entity>" variable

Package: Unity Netcode

-

Reproduction steps:
1. Open the attached “IN-111403” project
2. Observe the Console window

Expected result: No errors are thrown
Actual result: Errors regarding “GhostElement” are thrown

Reproducible with: 1.5.0, 1.8.0 (6000.0.57f1, 6000.2.3f1, 6000.3.0b1)
Not reproducible with: 1.5.0-exp.101 (6000.0.57f1, 6000.2.3f1, 6000.3.0b1)

Reproducible on: Windows 11, Windows 10
Not reproducible on: No other environments tested

Notes:
- Too many errors to display them in description, therefore they are in the comments.
- Errors come from the “Temp\NetCodeGenerated\Assembly-CSharp\_{{xxx}}_Unity_Entities_Entity_GhostElement.cs” generated file.
- After removing “[GhostField]” attribute above “FixedList512Bytes<Entity>” type variable in the “LandManagerAuthoring.cs” Script, the errors are no longer thrown.

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.