Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
This PR resolves the issue of exceeding the legacy parameter limitations defined within NetworkAnimator. Now, NetworkAnimator calculates how much space it needs to allocate to handle parameter serialization based on the Animator's defined parameters.
fix: #3095
Changelog
Fixed: Issue where NetworkAnimator would statically allocate write buffer space for Animator parameters that could cause a write error if the number of parameters exceeded the space allocated.
Testing and Documentation
No tests were added.
No documentation changes or additions were necessary.
This PR resolves the issue of exceeding the legacy parameter limitations defined within
NetworkAnimator
. Now,NetworkAnimator
calculates how much space it needs to allocate to handle parameter serialization based on theAnimator
's defined parameters.fix: #3095
Changelog
NetworkAnimator
would statically allocate write buffer space forAnimator
parameters that could cause a write error if the number of parameters exceeded the space allocated.Testing and Documentation