Skip to content

Commit 5422a77

Browse files
author
Unity Technologies
committed
## [1.9.1] - 2025-10-11 ### Changed * Host migration system now caches the ghost component types it uses when collecting host migration ghost data, resulting in faster host migration data collections. It's updated any time the ghost prefab count changes. * `GhostField.Quantization` template mismatch errors are now warnings, and will resolve to working code, rather than outputting errors. As a result, we will no longer assume primitive integer types want to disable quantization, as that logic did not cover all cases (e.g. like `Entity` structs etc). * Host migration internal ghost data gathering has improved and should be faster now but add a few bytes of extra data compared to before. ### Fixed * Occasional `MultiplayerPlayModeWindow.HandleHyperLinkArgs` truncation error spam. * Unsafe compiler error when using a `fixed` array as a `GhostField`. [Note: You must implement a corresponding safe accessor method implementing ref returns](https://docs.unity3d.com/Packages/com.unity.netcode@latest?subfolder=/manual/ghost-types-templates.html#supporting-unsafe-fixed-tconst). * `GhostField` compiler error when using `FixedList` with nested `struct` types, as well as related `InvalidOperationException` in a `SubString` call when using a `FixedList` with a primitive type. * Code generator incorrectness when generating struct fields for `GhostField` `FixedList` and `fixed` array serializers (`Entity` fields in particular). * Incorrect `curChangeMaskBits` offset after a `FixedList` field is generated, due to incorrect `aggregateChangeMask` flag. It's now forced correct via `forceComposite`. * `FixedList`'s and `unsafe fixed array`) now correctly support non-public structs for the element type (in cases where we know the code-gen will resolve without compiler errors). * `GhostSnapshotValueEntity` now uses `TryGetValue` rather than a `HasComponent` call followed by a lookup, reducing lookup costs. * Issue where specifying a `LogLevel` (via the `Default.globalconfig`'s `unity.netcode.sourcegenerator.logging_level` property) did nothing.
1 parent 70c9ce6 commit 5422a77

File tree

108 files changed

+4611
-1181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+4611
-1181
lines changed

.attestation.p7m

0 Bytes
Binary file not shown.

.signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":1758701568,"signature":"r75hTMuvHqwfIgsR6Nuxe/ZwV2ymJiAc+Wu3wQKpUX5M2B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ySTRibG4KS0twelJlNW14OTc1SjhxZ1FvRktKT0NNRlpHdkJMR2MxSzZZaEIzOHJFODZCZzgzbUovWjBEYkVmQjBxZm13cgo2ZDVFUXFsd0E5Y3JZT1YyV1VpWXprSnBLNmJZNzRZNmM1TmpBcEFKeGNiaTFOaDlRVEhUcU44N0ZtMDF0R1ZwCjVNd1pXSWZuYVRUemEvTGZLelR5U0pka0tldEZMVGdkYXpMYlpzUEE2aHBSK0FJRTJhc0tLTi84UUk1N3UzU2cKL2xyMnZKS1IvU2l5eEN1Q20vQWJkYnJMbXk0WjlSdm1jMGdpclA4T0lLQWxBRWZ2TzV5Z2hSKy8vd1RpTFlzUQp1SllDM0V2UE16ZGdKUzdGR2FscnFLZzlPTCsxVzROY05yNWdveVdSUUJ0cktKaWlTZEJVWmVxb0RvSUY5NHpCCndGbzJJT1JFdXFqcU51M3diMWZIM3p1dGdtalFra3IxVjJhd3hmcExLWlROQWdNQkFBRT0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg"}

CHANGELOG.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,28 @@
22
uid: changelog
33
---
44

5-
## [1.9.0] - 2025-09-15
5+
## [1.9.1] - 2025-10-11
6+
7+
### Changed
8+
9+
* Host migration system now caches the ghost component types it uses when collecting host migration ghost data, resulting in faster host migration data collections. It's updated any time the ghost prefab count changes.
10+
* `GhostField.Quantization` template mismatch errors are now warnings, and will resolve to working code, rather than outputting errors. As a result, we will no longer assume primitive integer types want to disable quantization, as that logic did not cover all cases (e.g. like `Entity` structs etc).
11+
* Host migration internal ghost data gathering has improved and should be faster now but add a few bytes of extra data compared to before.
12+
13+
### Fixed
14+
15+
* Occasional `MultiplayerPlayModeWindow.HandleHyperLinkArgs` truncation error spam.
16+
* Unsafe compiler error when using a `fixed` array as a `GhostField`. [Note: You must implement a corresponding safe accessor method implementing ref returns](https://docs.unity3d.com/Packages/com.unity.netcode@latest?subfolder=/manual/ghost-types-templates.html#supporting-unsafe-fixed-tconst).
17+
* `GhostField` compiler error when using `FixedList` with nested `struct` types, as well as related `InvalidOperationException` in a `SubString` call when using a `FixedList` with a primitive type.
18+
* Code generator incorrectness when generating struct fields for `GhostField` `FixedList` and `fixed` array serializers (`Entity` fields in particular).
19+
* Incorrect `curChangeMaskBits` offset after a `FixedList` field is generated, due to incorrect `aggregateChangeMask` flag. It's now forced correct via `forceComposite`.
20+
* `FixedList`'s and `unsafe fixed array`) now correctly support non-public structs for the element type (in cases where we know the code-gen will resolve without compiler errors).
21+
* `GhostSnapshotValueEntity` now uses `TryGetValue` rather than a `HasComponent` call followed by a lookup, reducing lookup costs.
22+
* Issue where specifying a `LogLevel` (via the `Default.globalconfig`'s `unity.netcode.sourcegenerator.logging_level` property) did nothing.
23+
24+
25+
26+
## [1.9.0] - 2025-09-13
627

728
### Added
829

@@ -35,8 +56,6 @@ uid: changelog
3556
* Potential dependency error with importance visualization.
3657
* Broken table on PlayMode Tool documentation page.
3758

38-
39-
4059
## [1.8.0] - 2025-08-17
4160

4261
### Added

Documentation~/TableOfContents.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@
3737
* [Lobby and Relay integration](host-migration/lobby-relay-integration.md)
3838
* [Limitations and known issues](host-migration/host-migration-limitations.md)
3939
* [Ghost type templates](ghost-types-templates.md)
40-
* [Test and debug your game](debugging.md)
41-
* [Logging](logging.md)
42-
* [Using the PlayMode Tool](playmode-tool.md)
43-
* [Testing with thin clients](thin-clients.md)
44-
* [Gathering metrics with MetricsMonitorComponent](metrics.md)
45-
* [Using source generators](source-generators.md)
40+
* [Test and debug your game](testing/debugging.md)
41+
* [Logging](testing/logging.md)
42+
* [PlayMode Tool](testing/playmode-tool.md)
43+
* [Network Profiler tool](testing/network-profiler.md)
44+
* [Thin clients](testing/thin-clients.md)
45+
* [Gather metrics](testing/metrics.md)
46+
* [Source generators](testing/source-generators.md)
4647
* [Optimize performance](optimizations.md)
4748
* [Optimize ghosts](optimization/optimize-ghosts.md)
4849
* [Reduce prediction overhead](optimization/reduce-prediction-overhead.md)

0 commit comments

Comments
 (0)