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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
There are no fixes planned for this Bug