Skip to content

feat: snapshot. Milestone 1b. Testproject "manual test" "scene transitioning" working with snapshot. Disabled by default. #862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 79 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
b26e577
chore: MTT-635 Add a Snapshot class to the NetworkManager. First part
jeffreyrainy Apr 12, 2021
4a59e2e
chore: MTT-635 Some part of Snapshot system. Sending an empty snapsho…
jeffreyrainy Apr 13, 2021
4c0e113
chore: MTT-635 Dropping native arrays for now, adding a bit of struct…
jeffreyrainy Apr 15, 2021
4cd3034
chore: MTT-635 Added EntryBlock. Used separate objects for the snapsh…
jeffreyrainy Apr 18, 2021
97c8200
chore: MTT-635 minor, constant for size, improved comment
jeffreyrainy Apr 20, 2021
2527505
MTT-635 minor, adjusting code to minimize diffs, for a first commit
jeffreyrainy Apr 21, 2021
600279f
feat: MTT-635 code review comments
jeffreyrainy Apr 22, 2021
068e1f9
feat: snapshot system, in-progress stuff before moving to a common br…
jeffreyrainy Apr 28, 2021
4c29875
feat: snapshot, incremental progress
jeffreyrainy Apr 30, 2021
4147f24
feat: snapshot. Server vars now replicate on client's
jeffreyrainy May 3, 2021
0e979e7
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 3, 2021
adc1d4b
feat: snapshot. Removed small memory allocation for list of variables…
jeffreyrainy May 4, 2021
5f800b0
feat: snapshot. Format and old comments removal
jeffreyrainy May 4, 2021
a431032
feat: snapshot. sending the snapshot from client to server too
jeffreyrainy May 4, 2021
5e83049
feat: snapshot. Storing ticks so 1 server and 2 client have all vars …
jeffreyrainy May 4, 2021
aabefbf
style: 'if' instead of 'switch' for NetworkUpdateStage.EarlyUpdate
jeffreyrainy May 4, 2021
6a97b72
feat: snapshot. Removed a memory allocation, used a member var for th…
jeffreyrainy May 5, 2021
8568fdf
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 5, 2021
7807636
feat: snapshot. Disabling snapshot for the M1 branch, to allow merge …
jeffreyrainy May 5, 2021
1638fa3
style: Fix for coding style
jeffreyrainy May 5, 2021
082bd75
style: Fix for coding style
jeffreyrainy May 5, 2021
1312f9c
refactor: snapshot. Moved matching 'read' and 'write' together for ma…
jeffreyrainy May 5, 2021
79a020e
refactor: snapshot. Moved matching 'read' and 'write' together for ma…
jeffreyrainy May 5, 2021
98fba2b
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 5, 2021
6799dcd
Merge remote-tracking branch 'origin/experimental/snapshot-system' in…
jeffreyrainy May 5, 2021
41934c8
feat: snapshot. Adding tick to snapshot frame. Improving DebugDisplay…
jeffreyrainy May 6, 2021
4969fec
feat: snapshot. Review comment, using the behaviour member id instead…
jeffreyrainy May 6, 2021
bd466d8
feat: snapshot. Review comment, using the behaviour member id instead…
jeffreyrainy May 6, 2021
8a206ec
style: Adding comments/documentation
jeffreyrainy May 6, 2021
ce3f2d2
style: Adding comments/documentation
jeffreyrainy May 6, 2021
b349d6f
feat: snapshot. Code review comments
jeffreyrainy May 6, 2021
3d76b73
feat: snapshot. Code review comments
jeffreyrainy May 6, 2021
1cfde05
Update com.unity.multiplayer.mlapi/Runtime/Core/NetworkBehaviour.cs
jeffreyrainy May 6, 2021
166b7d8
Update com.unity.multiplayer.mlapi/Runtime/Core/NetworkBehaviour.cs
jeffreyrainy May 6, 2021
3411d95
fix: commit suggestion required another small matching change
jeffreyrainy May 6, 2021
46f77d1
Merge branch 'experimental/snapshot-system-m1' into experimental/snap…
jeffreyrainy May 6, 2021
bbc3501
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 7, 2021
dd74f19
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 7, 2021
95a06ae
feat: snapshot. removing unneeded change
jeffreyrainy May 7, 2021
78934b2
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 7, 2021
2944840
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 10, 2021
bb14ff0
feat: snapshot. Adding acknowledgment message. Making the Snapshot kn…
jeffreyrainy May 12, 2021
a685468
feat: snapshot. Moving the tick into the key. Temporarily comparing t…
jeffreyrainy May 13, 2021
21b7ae2
feat: snapshot. Using a separate IndexAllocator class to manage buffe…
jeffreyrainy May 17, 2021
13e8c07
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 17, 2021
4b94ef9
feat: snapshot. IndexAllocator and associated test
jeffreyrainy May 18, 2021
28df2ce
feat: snapshot. Adjustement on the Snapshot data structure usage. Fix…
jeffreyrainy May 18, 2021
82f74b2
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 19, 2021
e3ad14b
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 19, 2021
0b4545c
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 19, 2021
6224012
feat: snapshot. Adjusting the default scene to use NetworkTransform. …
jeffreyrainy May 19, 2021
7eb6156
feat: snapshot. IndexAllocator keeping track of its last entry, to al…
jeffreyrainy May 20, 2021
c3f4303
feat: snapshot. Partial improvement. Now works on SceneTransitioningT…
jeffreyrainy May 20, 2021
171b5eb
feat: snapshot. Running standards.py --fix
jeffreyrainy May 20, 2021
eb639f7
refactor: snapshot, indexAllocator, organising for readability
jeffreyrainy May 21, 2021
6ca36ea
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 21, 2021
3a0af24
fix: snapshot. Removing double dispose() of PooledNetworkBuffer
jeffreyrainy May 21, 2021
119b3d5
refactor: Clean-up IndexAllocator for readability and documentation
jeffreyrainy May 21, 2021
8415547
feat: snapshot. Clearing receive snapshot before receiving, for now
jeffreyrainy May 25, 2021
8d230c4
feat: snapshot. Reducing the verbosity of logging
jeffreyrainy May 25, 2021
aaf6d13
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 25, 2021
03d1e7c
feat: snapshot. Refactoring to move the write of a NetVar in its own …
jeffreyrainy May 27, 2021
7b38870
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy May 27, 2021
884aa7c
feat: snapshot. Removing unneeded 'using' directive
jeffreyrainy May 27, 2021
eb1fb94
feat: snapshot. going back to classic deltas for merge to develop
jeffreyrainy May 27, 2021
00ccc8f
feat: snapshot. keeping the origin/develop PlayerCube.prefab, for mer…
jeffreyrainy May 27, 2021
7190850
style: whitespace fix
jeffreyrainy May 27, 2021
94024f4
Merge branch 'experimental/snapshot-system' into experimental/snapsho…
jeffreyrainy May 27, 2021
eac0e7a
Merge branch 'develop' into experimental/snapshot-system-m1b
mattwalsh-unity Jun 16, 2021
23d84d0
feat: snapshot. Addressing code review comment
jeffreyrainy Jun 16, 2021
517dd40
Merge branch 'experimental/snapshot-system-m1b' of github.com:Unity-T…
jeffreyrainy Jun 16, 2021
f3354f2
Merge branch 'develop' into experimental/snapshot-system-m1b
jeffreyrainy Jun 17, 2021
51698a2
feat: snapshot. Applying code review comments
jeffreyrainy Jun 18, 2021
2276459
feat: snapshot. Checking variable presence, before trying to read it.
jeffreyrainy Jun 21, 2021
c2fb29a
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy Jun 28, 2021
01ff555
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy Jun 30, 2021
aecefeb
feat: snapshot. Some review comments
jeffreyrainy Jul 5, 2021
ecae08e
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy Jul 5, 2021
1cac0d9
Merge remote-tracking branch 'origin/develop' into experimental/snaps…
jeffreyrainy Jul 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ internal static class NetworkConstants
internal const byte NAMED_MESSAGE = 22;
internal const byte SERVER_LOG = 23;
internal const byte SNAPSHOT_DATA = 25;
internal const byte SNAPSHOT_ACK = 26;
internal const byte SERVER_RPC = 30;
internal const byte CLIENT_RPC = 31;
internal const byte INVALID = 32;
Expand Down Expand Up @@ -56,7 +57,7 @@ internal static class NetworkConstants
"SERVER_LOG",
"",
"SNAPSHOT_DATA",
"",
"SNAPSHOT_ACK",
"",
"",
"",
Expand Down
Loading