We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd4a7a7 commit e3f5b13Copy full SHA for e3f5b13
com.unity.netcode.gameobjects/Editor/NetworkManagerEditor.cs
@@ -5,6 +5,9 @@
5
using Unity.Netcode.Editor.Configuration;
6
using UnityEditor;
7
using UnityEngine;
8
+#if UNITY_6000_5_OR_NEWER
9
+using UnityEngine.Assemblies;
10
+#endif
11
12
namespace Unity.Netcode.Editor
13
{
@@ -60,7 +63,11 @@ private void ReloadTransports()
60
63
61
64
m_TransportTypes.Clear();
62
65
66
67
+ var assemblies = CurrentAssemblies.GetLoadedAssemblies();
68
+#else
69
var assemblies = AppDomain.CurrentDomain.GetAssemblies();
70
71
72
foreach (var assembly in assemblies)
73
0 commit comments