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
Copy file name to clipboardExpand all lines: .yamato/_triggers.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,10 @@ pr_code_changes_checks:
87
87
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
88
88
# desktop_standalone_test and cmb_service_standalone_test are both reusing desktop_standalone_build dependency so we run those in the same configuration on PRs to reduce waiting time.
89
89
# Note that our daily tests will anyway run both test configurations in "minimal supported" and "trunk" configurations
- Added new fields to the `SceneMap` struct when using Unity 6.3 or higher. These fields allow referencing scene handles via the new `SceneHandle` struct. (#3734)
14
15
15
16
### Changed
16
17
@@ -24,6 +25,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
24
25
25
26
### Deprecated
26
27
28
+
- On Unity 6.5 some `SceneMap` fields that use an `int` to represent a `SceneHandle` are deprecated. (#3734)
Assert.That(writer.Position,Is.EqualTo(0),"Writer position should be zero");
15
+
16
+
writer.WriteNetworkSerializable(handle);
17
+
#if SCENE_MANAGEMENT_SCENE_HANDLE_MUST_USE_ULONG
18
+
Assert.That(writer.Position,Is.EqualTo(sizeof(ulong)),$"Writer position should not be beyond size! Expected: {sizeof(ulong)} Actual: {writer.Position}");
19
+
#else
20
+
Assert.That(writer.Position,Is.EqualTo(sizeof(int)),$"Writer position should not be beyond size! Expected: {sizeof(int)} Actual: {writer.Position}");
Assert.That(reader.Position,Is.EqualTo(sizeof(ulong)),$"Reader position should not be beyond size! Expected: {sizeof(ulong)} Actual: {reader.Position}");
28
+
#else
29
+
Assert.That(reader.Position,Is.EqualTo(sizeof(int)),$"Reader position should not be beyond size! Expected: {sizeof(int)} Actual: {reader.Position}");
Assert.That(listWriter.Position,Is.EqualTo(expectedSize),$"Writer position should not be beyond size! Expected: {expectedSize} Actual: {listWriter.Position}");
Assert.That(listReader.Position,Is.EqualTo(expectedSize),$"Reader position should not be beyond expected size! Expected: {expectedSize} Actual: {listReader.Position}");
0 commit comments