chore: release/1.8.1 merge to develop (#2831)

fix: Fixed compile error using IL2CPP builds with new [Rpc] attribute (#2824)
This commit is contained in:
Kitty Draper 2024-03-21 19:13:24 -05:00 коммит произвёл GitHub
Родитель ed867b52e1
Коммит 1fa39e171b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -21,6 +21,12 @@ Additional documentation and release notes are available at [Multiplayer Documen
- Changed `NetworkTransform` to now use `NetworkTransformMessage` as opposed to named messages for NetworkTransformState updates. (#2810)
- Changed `CustomMessageManager` so it no longer attempts to register or "unregister" a null or empty string and will log an error if this condition occurs. (#2807)
## [1.8.1] - 2024-02-05
### Fixed
- Fixed a compile error when compiling for IL2CPP targets when using the new `[Rpc]` attribute. (#2824)
## [1.8.0] - 2023-12-12
### Added

Просмотреть файл

@ -911,7 +911,7 @@ namespace Unity.Netcode.Editor.CodeGen
break;
}
}
m_UniversalRpcParams_TypeRef = moduleDefinition.ImportReference(rpcParamsTypeDef);
m_UniversalRpcParams_TypeRef = moduleDefinition.ImportReference(universalRpcParamsTypeDef);
foreach (var fieldDef in rpcParamsTypeDef.Fields)
{
switch (fieldDef.Name)

Просмотреть файл

@ -2,7 +2,7 @@
"name": "com.unity.netcode.gameobjects",
"displayName": "Netcode for GameObjects",
"description": "Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.",
"version": "1.8.0",
"version": "1.9.0",
"unity": "2021.3",
"dependencies": {
"com.unity.nuget.mono-cecil": "1.10.1",