Skip to content

Commit a25f9d3

Browse files
update
Adding UnityEngine.Assertions.Assert to see if this passes standards and X-Ray.
1 parent 1b658bd commit a25f9d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,8 @@ public int MaximumFragmentedMessageSize
11341134

11351135
internal void Initialize(bool server)
11361136
{
1137+
UnityEngine.Assertions.Assert.IsNotNull(Singleton);
1138+
11371139
#if DEVELOPMENT_BUILD || UNITY_EDITOR
11381140
if (!DisableNotOptimizedSerializedType)
11391141
{

0 commit comments

Comments
 (0)