kberg-amzn
66ab15a4b6
Removing old EntityReplicationManager.h that got re-added, this has been moved to public includes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-10-04 09:39:35 -07:00
kberg-amzn
bf136a567b
Some shutdown crash fixes, reverted a whitespace, and added some basic unit tests for time additions
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-10-01 15:04:50 -07:00
kberg-amzn
8d993494f6
Entity migrations now totally functional again, plus some fixes to network rigid bodies to make them work properly as they migrate around
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-30 22:53:51 -07:00
kberg-amzn
02bc89cd92
Fixes to sending entity updates and entity rpcs within an environment set up for cross host entity migration
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-28 19:25:04 -07:00
kberg-amzn
0a829f9661
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-27 15:50:22 -07:00
kberg-amzn
95d7cc7212
Adding the NetworkConnectionComponent to hold user nonce and migration values for a backup host in case the current host crashes or abnormally disconnects
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-27 12:14:41 -07:00
kberg-amzn
f837f0494b
many bug fixes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-23 18:25:46 -07:00
AMZN-Olex
cb75607106
Merged dev
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-09-22 08:09:53 -04:00
SergeyAMZN
35517c4e6a
Merge pull request #4023 from aws-lumberyard-dev/MPSpawnableRework
...
Reworked net entities instantiation in order to fix entity references…
2021-09-22 10:50:35 +01:00
pereslav
dc0bb00c10
Added an error check in case of a requested spawnable is not networked
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-21 14:58:33 +01:00
pereslav
895974db57
Removed spawn/despawn events from the spawnable system. Used NetworkSpawnableHolderComponent instead
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-21 14:50:06 +01:00
kberg-amzn
8401ee409b
merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-20 13:27:45 -07:00
AMZN-Olex
bcc77d75db
Merge branch 'development' of https://github.com/o3de/o3de into Network/olex/hierarchy_component_phase1_pr
2021-09-20 09:58:43 -04:00
kberg-amzn
6e84495975
Changes to make client and entity migration functional, needed in the event of a host quitting necessitating a host migration
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-17 16:48:16 -07:00
pereslav
454ae90afb
Added a few whitespaces
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-17 17:15:21 +01:00
kberg-amzn
f1f35a0ba8
Merge pull request #4003 from aws-lumberyard-dev/MultiplayerRewindClear
...
Multiplayer rewind clear
2021-09-16 10:18:46 -07:00
pereslav
a3dfb88696
Added support for instantiating network spawnables for any spawnables, not just root spawnable
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-16 17:48:53 +01:00
AMZN-Olex
2be5854beb
Cleanup
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-09-15 18:49:24 -04:00
AMZN-Olex
fcd5b3f184
Converted to use AZ::Events for hiearchy notifications. Added unittests.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-09-14 11:50:51 -04:00
AMZN-Olex
aa6c038880
Hierarchical components, phase 1, unittests
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-09-13 16:51:50 -04:00
pereslav
9b0e3f26b1
PR feedback addressing 2
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-13 16:30:42 +01:00
pereslav
1f66e8a760
PR feedback addressing
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-13 13:35:35 +01:00
pereslav
a0ada8fcd3
Reworked net entities instantiation in order to fix entity references e.g. parent-child relationship. Note: Only entities within network spawnable keep the references until the ticket system refactoring is done
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-09-09 16:44:35 +01:00
kberg-amzn
0b7c4fff85
Clear rewound entities if we attempt to sync rewind state outside of a scoped rewind
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-09-07 21:08:51 -07:00
Esteban Papp
4a972d96f9
Gems others
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-09-03 20:37:33 -07:00
Esteban Papp
b96b99363c
Merge branch 'development' into cmake/linux_fix_warn_unused
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-20 14:51:35 -07:00
Esteban Papp
ea2f74dc0f
more fixes for Gems
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-20 14:51:12 -07:00
SergeyAMZN
5bc46fc676
Merge pull request #2639 from aws-lumberyard-dev/nvsickle/NetworkingActivationOrder
...
Ensure network autonomy gets set before entity activation
2021-08-20 14:09:30 +01:00
pereslav
92a46c705e
Added the ability to look up a Net Entity ID for a given AZ Entity ID
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-08-19 16:57:32 +01:00
kberg-amzn
6518cf82d6
Merge remote-tracking branch 'origin/development' into MultiplayerDesyncsAndCorrectionFixes
2021-08-13 09:58:21 -07:00
Olex Lozitskiy
5363105c6d
SIG/Network - Migrated legacy multiplayer per entity analytics over to O3DE Multiplayer Gem
...
Added a new ImGui menu under Multiplayer: "Multiplayer Entity Stats"
2021-08-10 15:55:10 -04:00
kberg-amzn
b957b26b54
merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-08-09 16:27:29 -07:00
kberg-amzn
e0d0bbfdae
Changes to desync debug output to make it less stressful on bandwidth and the server, as well as some fixes to corrections on the local client
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-08-03 13:12:37 -07:00
AMZN-Olex
72aed355ce
Cleanup
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-08-03 12:54:32 -04:00
nvsickle
9041c8c917
Ensure network autonomy gets set before entity activation on non-dedicated servers
...
-Exposes an AutoActivate flag to INetworkEntityManager and ensured it got respected for all paths
-Tweak SpawnDefaultPlayerPrefab to not immediately activate its spawned entity to allow SetAllowAutonomy to be picked up from the net bind component during component activation
Signed-off-by: nvsickle <nvsickle@amazon.com >
2021-07-29 16:59:13 -07:00
AMZN-Olex
462c31b5de
Refactoring to use AZ::Events
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-07-28 09:53:44 -04:00
pappeste
0f0a6c5cd3
Multiplayer
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-07-27 19:30:49 -07:00
AMZN-Olex
a2f3066fa3
Imgui per entity works
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-07-26 21:59:19 -04:00
Gene Walters
d411c1d1d9
Autonomous to Authority Net Properties ( #2153 )
...
* WIP. Autonomous->Authority network properties now functional. Still need some research in regards to entity ownership when it comes to the PropertyPublisher.
Signed-off-by: Gene Walters <genewalt@amazon.com >
* WIP. Exposing Auton->Auth Properties accessors and onchange events
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Fix propertypublisher constructor to skip the creation state if we arent the owner. Removing ClientToServerReplicationWindow, return to just using NullReplicationWindow.
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Reverting some wip debug prints
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Minor whitespacing fix
Signed-off-by: Gene Walters <genewalt@amazon.com >
* minor undoing of whitespacing
Signed-off-by: Gene Walters <genewalt@amazon.com >
* NullReplicationWindow MaxReplication is 0, but now Autonomous entity updates will always be added to the send list (ignoring the max replication limit)
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Updating PropertyPublisher comment to explicitly call out if we dont own the entity locally, the remote replicator must exist
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Renaming RepiclationWindow GetMaxEntityReplicatorSendCount to GetMaxProxyEntityReplicatorSendCount; this number only affects the number of proxy sends and allows autonomous properties to always send
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-07-20 10:29:41 -07:00
Steve Pham
38261d0800
Shorten copyright headers by splitting into 2 lines ( #2213 )
...
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines
Signed-off-by: Steve Pham <spham@amazon.com >
2021-07-16 15:25:48 -07:00
puvvadar
a48a0d1f8a
Fix positional desync of network objects plus related log spam
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-07-12 11:15:38 -07:00
Steve Pham
b4a2edec6a
Final update copyright headers to reference license files at the repo root ( #1693 )
...
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com >
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com >
2021-06-30 19:51:55 -07:00
Olex Lozitskiy
be56cf648d
sig/network - bugfix - removal of player prefabs on disconnect
...
sig/network - bugfix - removal of player prefabs on disconnect
2021-06-24 15:01:41 -05:00
SergeyAMZN
ba80c102b5
Merge pull request #1516 from aws-lumberyard-dev/MultiplayerEditorFixes
...
SPEC-7469 Fixed EditorServerInfo packet serialization
2021-06-24 16:56:52 +01:00
pereslav
6b1d3d1f9a
SPEC-7469 Multiplayer Editor Ctrl+G fails due to EditorInfo packets reordering. SPEC-7471 Multiplayer Editor Ctrl+G asserts after CreateEntitiesImmediate
2021-06-24 01:12:19 +01:00
AMZN-Olex
5a061e409d
Fixed EntityDelete messages
2021-06-23 18:00:13 -04:00
Steve Pham
70042fcdcd
O3DE Copyright Updates for Linux Foundation ( #1504 )
2021-06-23 10:55:22 -07:00
AMZN-Olex
fcbec8c202
Fixed removal of player's prefab on disconnect
2021-06-22 14:55:45 -04:00
Gene Walters
b9dd7a1ecd
Updating IsNetEntityRole helper methods for more clarity. Also added tooltip scripting and comments for code
2021-06-17 16:16:38 -07:00
Esteban Papp
76a6df341b
SPEC-2513 Fixes to enable w4457
2021-06-04 10:51:47 -07:00