Skip to content

Commit

Permalink
com.unity.netcode@1.2.0
Browse files Browse the repository at this point in the history
## [1.2.0] - 2024-03-22

### Changed
*Release Preparation
  • Loading branch information
Unity Technologies committed Mar 22, 2024
1 parent 362f449 commit d3ac470
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 15 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ uid: changelog

# Changelog

## [1.2.0] - 2024-03-22

### Changed
*Release Preparation


## [1.2.0-pre.12] - 2024-02-13

### Added
Expand All @@ -28,7 +34,6 @@ uid: changelog
* Assigned InterpolationTick to always be equal ServerTick on the Server simulation (as stated in the summary for this parameter). Additionally the typos pointed out in the parameter summary were corrected.
* Issue where prespawn failed to initialize when relevancy list was updated before replicating internal prespawn ghosts.


## [1.2.0-pre.6] - 2023-12-13

### Changed
Expand Down
7 changes: 6 additions & 1 deletion Documentation~/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ See our publicly available [Unity Netcode Samples](https://github.com/Unity-Tech

To install this package, follow the [installation](installation.md) instructions.

## Supported Unity Versions

* 2022.3 (LTS)
* 2023.3 (Latest Beta and beyond)

## Requirements

Netcode for Entities requires you to have Unity version __2022.2.0f1__ or higher.
To use the Netcode for Entities package, you must have a supported version of Unity installed.

This package uses Unity’s [Entity Component System (ECS)](https://docs.unity3d.com/Packages/com.unity.entities@latest) as a foundation. As such, you must know how to use ECS to use this package.

Expand Down
21 changes: 13 additions & 8 deletions ValidationExceptions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"ErrorExceptions": [
{
"ValidationTest": "API Validation",
"ExceptionMessage": "Breaking changes require a new major version.",
"PackageVersion": "1.2.0-pre.12"
}
],
"WarningExceptions": []
"ErrorExceptions": [
{
"ValidationTest": "API Validation",
"ExceptionMessage": "For Experimental or Preview Packages, breaking changes require a new minor version.",
"PackageVersion": "1.2.0"
},
{
"ValidationTest": "API Validation",
"ExceptionMessage": "Breaking changes require a new major version.",
"PackageVersion": "1.2.0"
}
],
"WarningExceptions": []
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "com.unity.netcode",
"displayName": "Netcode for Entities",
"version": "1.2.0-pre.12",
"version": "1.2.0",
"unity": "2022.3",
"unityRelease": "11f1",
"description": "Unity's Data Oriented Technology Stack (DOTS) multiplayer netcode layer - a high level netcode system built on entities. This package provides a foundation for creating networked multiplayer applications within DOTS.",
"dependencies": {
"com.unity.transport": "2.1.0",
"com.unity.entities": "1.2.0-pre.12",
"com.unity.entities": "1.2.0",
"com.unity.modules.animation": "1.0.0"
},
"_upm": {
"changelog": "### Added\n\n* Optimisations for the gather-ghost-chunk by batching function pointer calls and using a better hash map.\n* BatchScaleImportanceDelegate, a new version of the importance scaling function that work in batches. It is not required to set both the ScaleImportance and the BatchScaleImportance function pointers. If the BatchScaleImportance is set, it is the preferred.\n* TempStreamInitialSize, a new parameter in the GhostSendSystemData for tuning the initial size of the temporary buffer used by server to serialise ghosts. By default now the size is 8KB.\n* AlwaysRelevantQuery to specify general rules for relevancy without specifying it ghost by ghost.\n\n### Changed\n\n* StreamCompressionDataModel is passed as in parameter to avoid many copy every time a WriteXXX or ReadXXX was called.\n* Updated Burst dependency to version 1.8.12\n\n### Fixed\n\n* UI issue disallowing the user from enabling the Network Emulator utility when upgrading with a now-deprecated EditorPref value.\n* an issue with pre-serialised ghosts, corrupting memory, crashing or copying wrong data into the snapshot buffer in certain conditions.\n* avoided GC allocation and the costly Marshal.GetDelegateFromFunctionPointer every time an FunctionPointer.Invoke is called. This is done by using directly unmanaged function pointers. All this, compatible with Burst enabled/disabled at any time.\n* lot of memory copies for loop invariants. This also reduced some SafetyChecks and costly operations.\n* avoid costly re-serialization of the whole chunk when the temp buffer can't fit all the data. This is one of the biggest costs during the serialisation loop. By default now the buffer is 8KB that reduce this possibility almost to 0.\n* Assigned InterpolationTick to always be equal ServerTick on the Server simulation (as stated in the summary for this parameter). Additionally the typos pointed out in the parameter summary were corrected.\n* Issue where prespawn failed to initialize when relevancy list was updated before replicating internal prespawn ghosts."
"changelog": "### Changed\n*Release Preparation"
},
"upmCi": {
"footprint": "e6362f31dc4ec15a45c61de6d15816f5473a1b49"
"footprint": "14f73fe31687e3259c784ff7454311310d71c70f"
},
"documentationUrl": "https://docs.unity3d.com/Packages/com.unity.netcode@1.2/manual/index.html",
"repository": {
"url": "https://github.cds.internal.unity3d.com/unity/dots.git",
"type": "git",
"revision": "1ae43e0525b8a09c7fe52ab40c762938a4937244"
"revision": "ea4236421d61011e37e71d22108c5e4e70cf71d7"
}
}

0 comments on commit d3ac470

Please sign in to comment.