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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
There are no fixes planned for this Bug