Add an INetworkConnectionBroadcaster interface#1007
Merged
FirstGearGames merged 31 commits intoFirstGearGames:mainfrom Feb 17, 2026
Merged
Conversation
[NonSerialized] required because in other case it cause infinity errors in Logs when you select networkmanager in hierarchy ManagedObjects now observable.
Now we can observer for NetworkObject server/client start/stop events Now NetworkBehaviour callback safe for error inside user code
These things need to be cleaned up, otherwise after ResetState and respawn they fire and OnChange fires when it shouldn't. Also... Make sync type settings public explicit
…workAnimator.cs.bak
…s-that-bothered-me - Fixed XML formatting in some areas (FirstGearGames#997).
…ers-multithreaded Make tick smoothers multithreaded
…-Make-Tick-Smoothers-multithreaded Revert "Make tick smoothers multithreaded"
… connection's broadcasting can be more easily mocked.
Contributor
Author
|
These changes are focused on my short-term goals of unit-testing a section of logic that accepts a NetworkConnection solely to send replies to the client. My hope is that adding this in will be a foot in the door to future abstraction for testing in the vein of #654 |
63a5e9d to
5fdb4e6
Compare
FirstGearGames
pushed a commit
that referenced
this pull request
Feb 17, 2026
- Fixed MovePosition/Rotation being unintentionally cleared with velocities (#1009, #1010). - Fixed NetworkCollider disposing of rather than pooling some collections, resulting in garbage collection. - Fixed NetworkTrafficStatistics initializing when disabled; this did not result in tracking but did have a neglible runtime performance impact. - Fixed NetworkTransform.GetChanged including non-synchronized properties (#1016). - Fixed missing error log when exceeding NetworkBehaviour limit pet NetworkObject. - Fixed prefab searching being done recursively despite being set not to (#1005 #1015). - Fixed ObserversRpc.BufferLast not handling ExcludeOwner (#985). - Fixed smoothers AttachOnStop not working (#1018). - Improved NetworkTrafficStatics uses TryGetBidirectionalNetworkTraffic rather than assume value is not null. This is to resolve a Unity bug where fields lose value during debug inspection (#1000). - Improved added additional ProfileMarkers to PredictionManager. - Improved NetworkTransform performance marginally (#989). - Improved added ProfileMarkers to ClientManager, ClientObjects/.RpcLinks, NetworkTransform (#989). - Improved Writer.WriteGuidAllocated obsoleted. Allocations have been removed; use WriteGuid instead (@belplaton). - Improved added INetworkConnectionBroadcast interface to allow broadcast mocking (#1007). - Added ManagedObjects.OnSpawnedAdd/Remove/Clear events (#989). - Added Beta Threaded TickSmoothers (contribution by https://github.com/belplaton) - Added Beta Threaded Collider Rollback (contribution by https://github.com/belplaton). - Added ability for NetworkTrafficStatistics to run in headless builds (#1004).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an INetworkConnectionBroadcaster interface, which NetworkConnection implements.