Skip to content

Commit 2711102

Browse files
committed
Merge branch 'develop-2.0.0' into chore/optimize-destroy-object-message
# Conflicts: # com.unity.netcode.gameobjects/CHANGELOG.md
2 parents 7c63e27 + b56e216 commit 2711102

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

com.unity.netcode.gameobjects/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
1919
### Changed
2020

2121
- Improve performance of `DestroyObjectMessage`. (#3801)
22+
- First pass of CoreCLR engine API changes. (#3799)
2223
- Changed NetworkAnimator to use the `RpcAttribute` along with the appropriate `SendTo` parameter. (#3586)
2324
- Improve performance of `NetworkTransformState`. (#3770)
2425

com.unity.netcode.gameobjects/Editor/NetworkManagerEditor.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
using Unity.Netcode.Editor.Configuration;
66
using UnityEditor;
77
using UnityEngine;
8+
#if UNITY_6000_5_OR_NEWER
9+
using UnityEngine.Assemblies;
10+
#endif
811

912
namespace Unity.Netcode.Editor
1013
{
@@ -60,7 +63,11 @@ private void ReloadTransports()
6063
{
6164
m_TransportTypes.Clear();
6265

66+
#if UNITY_6000_5_OR_NEWER
67+
var assemblies = CurrentAssemblies.GetLoadedAssemblies();
68+
#else
6369
var assemblies = AppDomain.CurrentDomain.GetAssemblies();
70+
#endif
6471

6572
foreach (var assembly in assemblies)
6673
{

0 commit comments

Comments
 (0)