chore(deps): update upm project dependency com.unity.transport to v2.7.0 (develop)#3892
Open
unity-renovate[bot] wants to merge 1 commit intodevelopfrom
Open
chore(deps): update upm project dependency com.unity.transport to v2.7.0 (develop)#3892unity-renovate[bot] wants to merge 1 commit intodevelopfrom
unity-renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
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.
This PR contains the following updates:
2.6.0->2.7.0✅ Editor bump: Not required for testproject-tools-integration/Packages/manifest.json
This is probably safe to merge for this project
Release Notes
com.unity.transport (com.unity.transport)
v2.7.0Compare Source
New Features
NetworkDriver.GetStatisticsmethod to get statistics about the current session. These are network-level statistics that can be useful to assess information like bandwidth usage, packet size distribution, etc.NetworkDriver.GetConnectionStatisticsmethod to get statistics about a specific connection. These are mostly focused around latency ("ping") and other network quality information (packet loss, duplication, etc.).NetworkEndpoint.ParseandNetworkEndpoint.TryParsenow have variants takingFixedString128Bytesarguments instead of managed strings. Those can be used in Burst-compiled code.NetworkDriver.SetAcceptPayloadwill be made available to clients when they pop aConnectevent. The buffer's content will be in theDataStreamReaderreturned alongside the event.Changes
NetworkDriver.CheckHostnameLookupStatushas been marked as obsolete. It is an implementation detail that shouldn't be called directly by users. Instead, regular connection events (Connect/Disconnect) can be used to infer the status of the hostname lookup (there is a dedicatedHostNotFounddisconnect reason if a connection couldn't be established because of a hostname lookup failure).TransportFunctionPointerexcept constructing one from a Burst-compatible delegate is now deprecated. Mostly this is just cleaning up old unused APIs as using managed delegates in pipeline stages has not been possible for a very long time.Fixes
ReliableSequencedPipelineStagethat would occur if window size was larger than 64 and a packet had to be resent multiple times.v2.6.0Compare Source
New Features
NetworkDriver.GetMaxSupportedPayloadSizemethod that can be used to find out what the maximum payload size is on a given connection/pipeline. It's equivalent to fetching theCapacityproperty of theDataStreamWriterreturned byBeginSendon the same connection and pipeline, but does not require acquiring a packet buffer likeBeginSenddoes.Changes
com.unity.logging) has been removed. Logs are now only written to the defaultDebug.Logmechanism. This should have no impact even to most users of the logging package, since its default configuration forwardsDebug.Loglogs to the default logger.NetworkDriver.GetMaxSupportedMessageSizecan now return different negative values to represent different errors. All values map to theError.StatusCodeenum.Fixes
NetworkDriver.CheckHostnameLookupStatuswould throw an exception when checking the status of connections that either did not use hostname lookup at all, or for which the hostname lookup had already finished in a previous driver update.NetworkDriver.MaxHeaderSizewhere it would return a size one byte larger than the actual maximum header size.NetworkDriver.BoundandNetworkDriver.Listeningwill now return false if accessed on a disposed driver, instead of throwing aNullReferenceException(or causing an application segfault if safety checks are disabled).Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Unity Renovate Bot.