Skip to content
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

feat: upgrade to 2022.3.14f1 & NGO v1.7.1 [MTT-7763] #871

Merged
merged 6 commits into from
Dec 12, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ public override void Publish(T message)

void SendMessageThroughNetwork(T message)
{
// Avoid throwing an exception if you are in the middle of shutting down and either
// NetworkManager no longer exists or the CustomMessagingManager no longer exists.
if (m_NetworkManager == null || m_NetworkManager.CustomMessagingManager == null)
{
return;
}
var writer = new FastBufferWriter(FastBufferWriter.GetWriteSize<T>(), Allocator.Temp);
writer.WriteValueSafe(message);
m_NetworkManager.CustomMessagingManager.SendNamedMessageToAll(m_Name, writer);
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Additional documentation and release notes are available at [Multiplayer Documen

## [unreleased] - yyyy-mm-dd

### Changed
* Upgraded editor version to 2022.3.14f1 (#871)
* Upgraded Boss Room to Netcode for GameObjects v1.7.1 (#871)

### Fixed
* Fixed NetworkVariable warnings that would be logged when a player was spawned (#863) For a player, certain NetworkVariable values were previously modified before the player's NetworkObject was spawned, resulting in warnings. Now, the NetworkVariable itself is instantiated on the server pre-spawn, such that it is instantiated with the new default value, ensuring the new default value is ready to be read on subsequent OnNetworkSpawn methods for said NetworkObject.

Expand Down
5 changes: 5 additions & 0 deletions Packages/com.unity.multiplayer.samples.coop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Multiplayer Samples Co-op Changelog

## [unreleased] - yyyy-mm-dd

### Changed
* Upgraded Utilities package to Netcode for GameObjects v1.7.1 (#871)

## [1.7.0] - 2023-09-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Packages/com.unity.multiplayer.samples.coop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"com.unity.learn.iet-framework": "3.1.3",
"com.unity.multiplayer.tools": "1.1.0",
"com.unity.netcode.gameobjects": "1.6.0",
"com.unity.netcode.gameobjects": "1.7.1",
"com.unity.services.relay": "1.0.5"
}
}
18 changes: 9 additions & 9 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.ai.navigation": "1.1.4",
"com.unity.ai.navigation": "1.1.5",
"com.unity.cinemachine": "2.9.5",
"com.unity.collab-proxy": "2.0.5",
"com.unity.ide.rider": "3.0.24",
"com.unity.ide.visualstudio": "2.0.18",
"com.unity.collab-proxy": "2.2.0",
"com.unity.ide.rider": "3.0.26",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5",
"com.unity.learn.iet-framework": "3.1.3",
"com.unity.memoryprofiler": "1.0.0",
"com.unity.memoryprofiler": "1.1.0",
"com.unity.multiplayer.tools": "2.0.0-pre.3",
"com.unity.netcode.gameobjects": "1.6.0",
"com.unity.netcode.gameobjects": "1.7.1",
"com.unity.performance.profile-analyzer": "1.2.2",
"com.unity.postprocessing": "3.2.2",
"com.unity.render-pipelines.universal": "14.0.8",
"com.unity.services.authentication": "2.7.1",
"com.unity.render-pipelines.universal": "14.0.9",
"com.unity.services.authentication": "2.7.2",
"com.unity.services.lobby": "1.1.0",
"com.unity.services.relay": "1.0.5",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.5",
"com.unity.timeline": "1.7.6",
"com.unity.toolchain.macos-x86_64-linux-x86_64": "2.0.4",
"com.unity.transport": "2.0.2",
"com.unity.ugui": "1.0.0",
Expand Down
53 changes: 31 additions & 22 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {}
},
"com.unity.ai.navigation": {
"version": "1.1.4",
"version": "1.1.5",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -16,7 +16,7 @@
"url": "https://packages.unity.com"
},
"com.unity.burst": {
"version": "1.8.7",
"version": "1.8.10",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -34,7 +34,7 @@
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "2.0.5",
"version": "2.2.0",
"depth": 0,
"source": "registry",
"dependencies": {},
Expand Down Expand Up @@ -66,7 +66,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "3.0.24",
"version": "3.0.26",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -75,7 +75,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.18",
"version": "2.0.22",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -108,7 +108,7 @@
"url": "https://packages.unity.com"
},
"com.unity.memoryprofiler": {
"version": "1.0.0",
"version": "1.1.0",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -123,7 +123,7 @@
"dependencies": {
"com.unity.learn.iet-framework": "3.1.3",
"com.unity.multiplayer.tools": "1.1.0",
"com.unity.netcode.gameobjects": "1.6.0",
"com.unity.netcode.gameobjects": "1.7.1",
"com.unity.services.relay": "1.0.5"
}
},
Expand All @@ -143,12 +143,12 @@
"url": "https://packages.unity.com"
},
"com.unity.netcode.gameobjects": {
"version": "1.6.0",
"version": "1.7.1",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",
"com.unity.transport": "1.3.4"
"com.unity.transport": "1.4.0"
},
"url": "https://packages.unity.com"
},
Expand Down Expand Up @@ -190,7 +190,7 @@
"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.core": {
"version": "14.0.8",
"version": "14.0.9",
"depth": 1,
"source": "builtin",
"dependencies": {
Expand All @@ -201,14 +201,23 @@
}
},
"com.unity.render-pipelines.universal": {
"version": "14.0.8",
"version": "14.0.9",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.mathematics": "1.2.1",
"com.unity.burst": "1.8.4",
"com.unity.render-pipelines.core": "14.0.8",
"com.unity.shadergraph": "14.0.8"
"com.unity.burst": "1.8.9",
"com.unity.render-pipelines.core": "14.0.9",
"com.unity.shadergraph": "14.0.9",
"com.unity.render-pipelines.universal-config": "14.0.9"
}
},
"com.unity.render-pipelines.universal-config": {
"version": "14.0.9",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "14.0.9"
}
},
"com.unity.searcher": {
Expand All @@ -219,7 +228,7 @@
"url": "https://packages.unity.com"
},
"com.unity.services.authentication": {
"version": "2.7.1",
"version": "2.7.2",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -231,7 +240,7 @@
"url": "https://packages.unity.com"
},
"com.unity.services.core": {
"version": "1.10.1",
"version": "1.12.0",
"depth": 1,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -290,13 +299,13 @@
"url": "https://packages.unity.com"
},
"com.unity.services.wire": {
"version": "1.2.0",
"version": "1.2.2",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.services.core": "1.10.1",
"com.unity.services.core": "1.11.0",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.services.authentication": "2.6.1"
"com.unity.services.authentication": "2.7.2"
},
"url": "https://packages.unity.com"
},
Expand All @@ -308,11 +317,11 @@
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
"version": "14.0.8",
"version": "14.0.9",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "14.0.8",
"com.unity.render-pipelines.core": "14.0.9",
"com.unity.searcher": "4.9.2"
}
},
Expand Down Expand Up @@ -353,7 +362,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.7.5",
"version": "1.7.6",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down
3 changes: 3 additions & 0 deletions ProjectSettings/NetcodeForGameObjects.asset
Git LFS file not shown
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectSettings.asset
Git LFS file not shown
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2022.3.7f1
m_EditorVersionWithRevision: 2022.3.7f1 (b16b3b16c7a0)
m_EditorVersion: 2022.3.14f1
m_EditorVersionWithRevision: 2022.3.14f1 (eff2de9070d8)
4 changes: 2 additions & 2 deletions ProjectSettings/ShaderGraphSettings.asset
Git LFS file not shown
Loading