Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.17
Issue ID
N4EBUG-75
Regression
No
Badly generated code in NetCode GhostComponentSerializer
1. What happened
Badly generated code in TestDataSerializer.cs (GhostComponentSerializer template in DOTS NetCode)
In the methods SerializeSnapshot and Deserialize the usage of CopyFromChangeMask does not receive the correct parameters.
E.g. changeMask = GhostComponentSerializer.CopyFromChangeMask(changeMaskData, startOffset + 32, ChangeMaskBits - 32);
It only increments with 32 bits once, and does not increase the increment in succeeding calls.
CalculateChangeMask seems to do this correctly however.
2. How can we reproduce it using the example you attached
Start the editor, use the multiplayer tools on the top to generate generated code (Or simply look on the TestDataSerializer.cs submitted in the report).
Observe the errors in the code.
Note: The developers were able to reproduce locally, but there are no consistent steps and or is impossible to reproduce by CQA, confirming without changing the Description
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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Resolution Note:
There are no fixes planned for this Bug