Skip to content

Commit c5a64d1

Browse files
committed
fix: gate the CLI commands on com.unity.pipeline 0.9.0-exp.1 (MTT-15298)
A prerelease sorts below its release, so the 0.9.0 gate left the commands out of projects with the published 0.9.0-exp.1.
1 parent 67b59c9 commit c5a64d1

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎com.unity.netcode.gameobjects/CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
1010

1111
### Added
1212

13-
- Added Unity CLI commands (`netcode.gameobjects` groups) to set up NetworkManagers and network prefabs, start and stop sessions, inspect clients and spawned objects, spawn, despawn and change ownership, simulate network conditions and sample network traffic. They are available when the project has `com.unity.pipeline` 0.9.0 or later.
13+
- Added Unity CLI commands (`netcode.gameobjects` groups) to set up NetworkManagers and network prefabs, start and stop sessions, inspect clients and spawned objects, spawn, despawn and change ownership, simulate network conditions and sample network traffic. They are available when the project has `com.unity.pipeline` 0.9.0-exp.1 or later.
1414
- Added alignment of the Netcode for Entities tick rates with `NetworkConfig.TickRate` when a session carrying `GhostObject` prefabs is started, so `GhostObject` updates land on the same interval as the rest of Netcode for GameObjects. (#4144)
1515
- Added `NetworkConfig.AutoConfigureSnapshotSize`, enabled by default, which sets the Netcode for Entities snapshot packet size to 4096 bytes when a session carrying `GhostObject` prefabs is started. Netcode for Entities defaults to a single MTU, which updates `GhostObject`s well below the tick rate at the instance counts Netcode for GameObjects projects typically run. Disable it to manage the value yourself. (#4144)
1616

‎com.unity.netcode.gameobjects/Documentation~/unity-cli-commands.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Drive Netcode for GameObjects from the command line, a CI job or an AI agent with the Unity CLI. The commands set up a NetworkManager and network prefabs, start and stop sessions, inspect connected clients and spawned objects, simulate poor network conditions, and sample network traffic.
44

5-
The commands are available when the project has the `com.unity.pipeline` package (version 0.9.0 or later). Without it, nothing extra is compiled. Run them against an open Editor as `unity command <group> <name> [arguments]`; `unity command --list` shows every command with its arguments.
5+
The commands are available when the project has the `com.unity.pipeline` package (version 0.9.0-exp.1 or later). Without it, nothing extra is compiled. Run them against an open Editor as `unity command <group> <name> [arguments]`; `unity command --list` shows every command with its arguments.
66

77
## Typical workflow
88

‎com.unity.netcode.gameobjects/Editor/CLI/Unity.Netcode.GameObjects.Editor.CLI.asmdef‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"versionDefines": [
2222
{
2323
"name": "com.unity.pipeline",
24-
"expression": "0.9.0",
24+
"expression": "0.9.0-exp.1",
2525
"define": "UNITY_PIPELINE_PACKAGE_AVAILABLE"
2626
}
2727
],

‎com.unity.netcode.gameobjects/Tests/Editor/Cli/Commands/Unity.Netcode.GameObjects.Editor.CLI.Tests.asmdef‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"versionDefines": [
2929
{
3030
"name": "com.unity.pipeline",
31-
"expression": "0.9.0",
31+
"expression": "0.9.0-exp.1",
3232
"define": "UNITY_PIPELINE_PACKAGE_AVAILABLE"
3333
}
3434
],

0 commit comments

Comments
 (0)