You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For reals this time.
Adding the defines for SCENE_MANAGEMENT_SCENE_HANDLE_NO_INT_CONVERSION and SCENE_MANAGEMENT_SCENE_HANDLE_MUST_USE_ULONG to the editor tests assembly.
Assert.That(writer.Position,Is.EqualTo(0),"Writer position should be zero");
15
15
16
-
writer.WriteValue(handle);
16
+
writer.WriteNetworkSerializable(handle);
17
17
#if SCENE_MANAGEMENT_SCENE_HANDLE_MUST_USE_ULONG
18
18
Assert.That(writer.Position,Is.EqualTo(sizeof(ulong)),$"Writer position should not be beyond size! Expected: {sizeof(ulong)} Actual: {writer.Position}");
19
19
#else
@@ -22,7 +22,7 @@ public void NetworkSceneHandleSerializationTest()
Assert.That(reader.Position,Is.EqualTo(sizeof(ulong)),$"Reader position should not be beyond size! Expected: {sizeof(ulong)} Actual: {reader.Position}");
28
28
#else
@@ -38,7 +38,7 @@ public void NetworkSceneHandleSerializationTest()
38
38
39
39
Assert.That(listWriter.Position,Is.EqualTo(0),"Writer position should be zero");
Assert.That(listReader.Position,Is.EqualTo(expectedSize),$"Reader position should not be beyond expected size! Expected: {expectedSize} Actual: {listReader.Position}");
0 commit comments