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
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
Resolution Note:
There are no fixes planned for this Bug