Skip to content

Fixed NetworkAnimator not always deinitializing properly when an object was unexpectedly destroyed.#550

Merged
FirstGearGames merged 1 commit into
FirstGearGames:v3from
evbishop:NetworkAnimatorUnsubTickOnDestory
Nov 14, 2023
Merged

Fixed NetworkAnimator not always deinitializing properly when an object was unexpectedly destroyed.#550
FirstGearGames merged 1 commit into
FirstGearGames:v3from
evbishop:NetworkAnimatorUnsubTickOnDestory

Conversation

@evbishop

@evbishop evbishop commented Nov 14, 2023

Copy link
Copy Markdown

Basically the same thing that was done to NetworkTransform in 3.11.5.

We've been getting a lot of error reports that include:

<Exception>: NullReferenceException: Object reference not set to an instance of an object.
FishNet.Component.Animating.NetworkAnimator.TimeManager_OnPreTick () (at <00000000000000000000000000000000>:0)
FishNet.Managing.Timing.TimeManager.IncreaseTick () (at <00000000000000000000000000000000>:0)
FishNet.Managing.Timing.TimeManager.TickUpdate () (at <00000000000000000000000000000000>:0)

I assume the null ref here refers to TimeManager and hopefully this will fix it.

@FirstGearGames

Copy link
Copy Markdown
Owner

Looks good, ty!
Added officially in 3.11.8

@FirstGearGames FirstGearGames merged commit 7b8a344 into FirstGearGames:v3 Nov 14, 2023
FirstGearGames added a commit that referenced this pull request Nov 16, 2023
- Improved Tugboat.GetPort returns active port after server is started in the scenario listening port is set to 0.
- Fixed rare cases of Awake not calling on parent with multiple inheritence levels.
- Fixed connections getting duplicate entries in SyncList when values were added on the same tick for connection, before spawn was written. (#505)
- Fixed Demos/SceneManager/Additive Scenes/AdditiveScenes_Start missing references.
- Fixed NetworkAnimatorEditor not dirtying synchronized parameters when changed inside a prefab.
- Fixed NetworkAnimator not always unsubscribing from TimeManager on destroy. (#550)
- Added CliemtManager.OnClientTimeOut.
- Added ClientManager.LastPacketLocalTick.
- Fixed typo in IntermediateLayer.HandleOutgoing method name.
FirstGearGames pushed a commit that referenced this pull request Nov 21, 2023
- Improved Tugboat.GetPort returns active port after server is started in the scenario listening port is set to 0.
- Fixed rare cases of Awake not calling on parent with multiple inheritence levels.
- Fixed connections getting duplicate entries in SyncList when values were added on the same tick for connection, before spawn was written. (#505)
- Fixed Demos/SceneManager/Additive Scenes/AdditiveScenes_Start missing references.
- Fixed NetworkAnimatorEditor not dirtying synchronized parameters when changed inside a prefab.
- Fixed NetworkAnimator not always unsubscribing from TimeManager on destroy. (#550)
- Added CliemtManager.OnClientTimeOut.
- Added ClientManager.LastPacketLocalTick.
- Fixed typo in IntermediateLayer.HandleOutgoing method name.
- Improved average rollback accuracy by roughly 0.012m.
- Improved PredictedObject now warns when trying to use Rigidbody as prediction type while rigidbodies are kinematic.
- Changed removed ObserverCondition Clone() and Timed().
- Improved Tugboat.GetPort returns active port after server is started in the scenario listening port is set to 0.
- Fixed NetworkTransform.ForceSend not force sending when transform properties were default.
- Added NetworkTransform.ForceSend(uint) to force send after a delay.
- Fixed several instances of client handling incoming data on despawned objects resulting in harmless warnings.
- Improved codegen for Awake initialization to be more reliable and provide better feedback during errors.
- Fixed OnClientTimeout not invoking.
- Added V3 to V4 upgrade helper menu.
- Added code generation to catch mistakes in converting SyncVars from v3 to v4.
- Fixed nested objects corrupting spawn packets. (#543) (#542)
- Added TimeManager.GetTickAsDouble(byte), GetTickPercentAsByte(byte), GetTickPercentAsDouble().
- Removed TimeManager.GetTickPercent(), replaced with GetTickPercentAsByte().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants