Skip to content

chore: Update UTP dependency to 1.3.0 #2231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.netcode.gameobjects/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Additional documentation and release notes are available at [Multiplayer Documen

### Changed

- Updated `UnityTransport` dependency on `com.unity.transport` to 1.3.0. (#2231)
- The send queues of `UnityTransport` are now dynamically-sized. This means that there shouldn't be any need anymore to tweak the 'Max Send Queue Size' value. In fact, this field is now removed from the inspector and will not be serialized anymore. It is still possible to set it manually using the `MaxSendQueueSize` property, but it is not recommended to do so aside from some specific needs (e.g. limiting the amount of memory used by the send queues in very constrained environments). (#2212)
- As a consequence of the above change, the `UnityTransport.InitialMaxSendQueueSize` field is now deprecated. There is no default value anymore since send queues are dynamically-sized. (#2212)
- The debug simulator in `UnityTransport` is now non-deterministic. Its random number generator used to be seeded with a constant value, leading to the same pattern of packet drops, delays, and jitter in every run. (#2196)
Expand Down
2 changes: 1 addition & 1 deletion com.unity.netcode.gameobjects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"unity": "2020.3",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",
"com.unity.transport": "1.2.0"
"com.unity.transport": "1.3.0"
Copy link
Contributor

@0xFA11 0xFA11 Oct 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be worth to also open testproject, minimalproject and testproject-tools-integration Unity projects to allow them to update their manifest-lock.json and other relevant bits and pieces.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean packages-lock.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

}
}
4 changes: 2 additions & 2 deletions minimalproject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"source": "local",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",
"com.unity.transport": "1.2.0"
"com.unity.transport": "1.3.0"
}
},
"com.unity.nuget.mono-cecil": {
Expand All @@ -61,7 +61,7 @@
"url": "https://packages.unity.com"
},
"com.unity.transport": {
"version": "1.2.0",
"version": "1.3.0",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions testproject-tools-integration/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"source": "local",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",
"com.unity.transport": "1.2.0"
"com.unity.transport": "1.3.0"
}
},
"com.unity.nuget.mono-cecil": {
Expand Down Expand Up @@ -107,7 +107,7 @@
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.transport": {
"version": "1.2.0",
"version": "1.3.0",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions testproject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"source": "local",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",
"com.unity.transport": "1.2.0"
"com.unity.transport": "1.3.0"
}
},
"com.unity.nuget.mono-cecil": {
Expand Down Expand Up @@ -195,7 +195,7 @@
"url": "https://packages.unity.com"
},
"com.unity.transport": {
"version": "1.2.0",
"version": "1.3.0",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down