Skip to content

Commit 7c7d123

Browse files
author
Unity Technologies
committed
com.unity.netcode@1.5.0-exp.100
## [1.5.0-exp.100] - 2025-03-11 ### Changed * Big documentation overhaul for host migration feature. * Don't add input component buffers to host migration data. These can cause issues after host migration when they have inputs event counters set to some value where the migrated clients will be start counts starting from 0. The increment/decrement mechanism breaks. * Ghost IDs and spawn ticks in the `GhostInstance` component will now be preserved for non-prespawn ghosts between host migrations. ### Fixed * UpdateSize in the `HostMigrationStats` component is now correct when using compression * Issue with the native list size being incorrectly re-sized in `HostMigration.GetHostMigrationData` * Test failures when packet dumps are enabled * Issue where old prespawn snapshot data would still exist for clients after a host migration causing deserialization errors.
1 parent 4cce3b5 commit 7c7d123

29 files changed

+1847
-216
lines changed

.signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":1739275098,"signature":"rRqZVzEfFFJUD+RHpQcMAT76hMUmBaILNoYCyOxbGAaGrwQvuvni7sZe9383pp2S8gX5zLrCSeskgg/CMncD5W864bRFs2umoD/aZdWaacLPd4ESZA/F7kZAlMaJ+kJBhnUnoDt/Y4r0XWtkV7J/n6yW3wkTOh2nuVq8XY+cHQK1PSL6yE3kkMkARqu4IOTAx5WKpKzq+aZNprORW2onpZuivHat7s16EMs/7R5RhGkkVhjPo0ZArRTh6IMO02M5mV7rXi2XXSgfQXCee+FvBALdNIha6fNTD3++RM0bTFJ/drJ5YFK5dhyxSkXne4oTX44cGWzfKpA6NqJCFCffGG7HNHqc/Vc8jYFQLT+ZXHk3YOMUcG1OydAnxIs4NMAxhTcamWSNeCapYPZGCpTfaZuIqgnN/9tVvrT6zNvYubMfWWHP51+7BxEeFdACn7hGM05YxDULv8Rk7/9erTM+vxDvk6N5Fgs0GohTTd5TEl053lMgcZkh2vMJjlmLH8gh","publicKey":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQm9qQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FZOEFNS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ANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
uid: changelog
33
---
44

5+
## [1.5.0-exp.100] - 2025-03-11
6+
7+
### Changed
8+
9+
* Big documentation overhaul for host migration feature.
10+
* Don't add input component buffers to host migration data. These can cause issues after host migration when they have inputs event counters set to some value where the migrated clients will be start counts starting from 0. The increment/decrement mechanism breaks.
11+
* Ghost IDs and spawn ticks in the `GhostInstance` component will now be preserved for non-prespawn ghosts between host migrations.
12+
13+
### Fixed
14+
15+
* UpdateSize in the `HostMigrationStats` component is now correct when using compression
16+
* Issue with the native list size being incorrectly re-sized in `HostMigration.GetHostMigrationData`
17+
* Test failures when packet dumps are enabled
18+
* Issue where old prespawn snapshot data would still exist for clients after a host migration causing deserialization errors.
19+
520
## [1.5.0-exp.2] - 2025-02-10
621

722
### Changed

Documentation~/TableOfContents.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@
1919
* [Prediction switching](prediction-switching.md)
2020
* [Prediction edge cases and known issues](prediction-details.md)
2121
* [Physics](physics.md)
22-
* [Host migration](host-migration.md)
22+
* [Host migration](host-migration/host-migration.md)
23+
* [Introduction to host migration](host-migration/host-migration-intro.md)
24+
* [Host migration API and components](host-migration/host-migration-api.md)
25+
* [Add host migration to your project](host-migration/add-host-migration.md)
26+
* [Host migration requirements](host-migration/host-migration-requirements.md)
27+
* [Host migration systems and data](host-migration/host-migration-systems.md)
28+
* [Lobby and Relay integration](host-migration/lobby-relay-integration.md)
29+
* [Limitations and known issues](host-migration/host-migration-limitations.md)
2330
* [Ghost type templates](ghost-types-templates.md)
2431
* [Testing and debugging your game](debugging.md)
2532
* [Logging](logging.md)

Documentation~/host-migration.md

Lines changed: 0 additions & 84 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Add host migration to your project
2+
3+
Understand the requirements, systems, and integrations involved in adding host migration to your project.
4+
5+
| **Topic** | **Description** |
6+
| :------------------------------ | :------------------------------- |
7+
| **[Host migration requirements](host-migration-requirements.md)** | Understand the requirements for using host migration in a project and which platforms are supported. |
8+
| **[Host migration considerations](host-migration-considerations.md)** | A project which supports migration of the server data to a new server requires certain design considerations.
9+
| **[Host migration systems and data](host-migration-systems.md)** | Set up host migration systems in your project to enable host migration in a client hosted networking experience. |
10+
| **[Lobby and Relay integration](lobby-relay-integration.md)** | Integrate with Unity Lobby and Unity Relay to enable host migration in Netcode for Entities. |

0 commit comments

Comments
 (0)