Esteban Papp
7100d48e16
Cherry-picking some changes from stabilization into development ( #5810 )
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-11-19 15:59:21 -08:00
Olex Lozitskiy
e804fd2a42
Refactored away circular dependencies in Multiplayer gem cmake targets.
2021-11-18 21:55:55 -05:00
Olex Lozitskiy
52742dff48
Created Gem::Multiplayer.Tools.Static cmake target
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com >
2021-11-18 16:01:52 -05:00
Olex Lozitskiy
69efe7cf26
Addressing PR
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com >
2021-11-18 09:26:42 -05:00
Olex Lozitskiy
89f4ebb298
Refactored away circular dependencies in Multiplayer gem.
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com >
2021-11-16 20:32:48 -05:00
Tommy Walton
21d5e62f85
Merge commit 'cb1a45f9ec01ebaede35da2924bde66f31c31ea2' into amzn-tommy/gitflow_211116_o3de2
2021-11-16 11:42:15 -08:00
SergeyAMZN
f9824fc4ee
Merge pull request #5586 from aws-lumberyard-dev/IMGUI_EntityOutlinerFix
...
Fixed IMGUI Entity Outliner to show net entities
2021-11-15 14:23:10 +00:00
amzn-sean
38a03817bb
Removal and Replacement of the CryTimer (gEnv->pTimer) ( #5409 )
...
Replaced and removed the CryTimer (gEnv->pTimer). The new TimeSystem is a merger of the current time functionality found in the engine.
* Rename TimeSystemComponent.h/.cpp to TimeSystem.h/.cpp
* Adding New TimeSystem
* remove old timer cvars
* small improvements to the time system.
- updated parts to use the time conversion functions.
- in AdvanceTickDeltaTimes applying t_simulationTickScale is now uses doubles instead of floats.
* Replace gEnv->pTimer / ITimer usages with TimeSystem
* Updating usages of AZ::TimeMs{ 0 } and AZ::TimeUs{ 0 } to AZ::Time::ZeroTimeMs and AZ::Time::ZeroTimeUs
* red code the CryTimer
* using TimeUs instead of TimeMs is some cases + updating usages of old cvars to new
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com >
2021-11-15 12:11:58 +00:00
Sergey Pereslavtsev
3fb97b1334
Added more info to comment
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-12 18:13:20 +00:00
Sergey Pereslavtsev
435f839666
Fixed IMGUI Entity Outliner to show net entities
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-12 13:36:14 +00:00
Gene Walters
2cd732de6c
Fixing RPC autogen so that RPCs without parameters compile (and function).
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-11 16:43:49 -08:00
Nicholas Van Sickle
8d5dd4e35f
Merge remote-tracking branch 'upstream/stabilization/2110' into nvsickle/StabToDevNov21
...
Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com >
2021-11-11 10:15:52 -08:00
SergeyAMZN
e5dbd0a2a9
Merge pull request #5467 from aws-lumberyard-dev/LYN-7815_RPCCompilationFix
...
Fix to Allow Compiling the 4 Types of RPCs
2021-11-11 11:06:59 +00:00
SergeyAMZN
b9f6d1ec9f
Merge pull request #5311 from aws-lumberyard-dev/HierarchiesFixes
...
Fixed client hierarchy construction to check for authority instead of controller
2021-11-10 12:47:43 +00:00
Gene Walters
c99071533d
Small: fix typo
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-09 15:39:43 -08:00
Gene Walters
c8b9f05079
Ensuring the 4 types of RPCs (1)Autonomous->Authority (2)Authority->Autonomous (3)Authority->Client and (4)Server->Authority all compile. Invoking anything that starts from Autonomous or Authority requires a controller (otherwise just requires a component), and anything handled by Authority or Autonomous requires a controller for Handle on OnEvent methods (otherwise OnEvent and Handle occurs on the component)
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-09 15:35:17 -08:00
lumberyard-employee-dm
5fc4551ac0
[LYN-8041] Enable relocation of the Project Game Release Layout ( #5380 )
...
* Enable relocation of the Project Game Release Layout
Relocating the Project Game Release Layout to another directory on the file system failed due to the querying of the engine root failing due to the ComponentApplication::m_engineRoot not using the project path stored in the SettingsRegisry if the engine root cannot be detected
Removed the ApplicationRequestBus GetEngineRoot function.
The ComponentApplicationRequestBus has a function of the same name that returns the same path.
Removed the deprecated GetAppRoot function.
The path it returns has no defined value. It was not the engine root or the project root.
Removed unused CFileUtil and CFileUtil_impl functions that were invoking the ApplicationREquestBus GetEngineRoot function.
On the way to update the functions it was discovered that they aren't called
Added a CalculateBranchToken overload that can populate a fixed_string to avoid heap allocations
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
* Protect against an empty list of artifacts to remove when generating the
engine.pak
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2021-11-09 12:03:52 -06:00
Sergey Pereslavtsev
7fce5e52a4
PR feedback addressing
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-09 17:36:01 +00:00
Sergey Pereslavtsev
1e6518abab
Build fix after the merge from dev
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-09 14:50:44 +00:00
puvvadar
4468a9213d
Merge pull request #5359 from aws-lumberyard-dev/LYN-8035_MultiplayerFlakyTest_ServerLogging
...
Wait to Activate Editor-server Until the Logging System is Ready
2021-11-08 12:10:37 -08:00
Sergey Pereslavtsev
32f72a1213
Merge from development
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-08 15:41:40 +00:00
kberg-amzn
479ff188a0
merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-05 15:05:23 -07:00
kberg-amzn
989952e106
Fix comment
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-05 12:28:06 -07:00
kberg-amzn
988561920a
Sets up the event scheduler system component for hierarchy tests
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-05 12:26:10 -07:00
Gene Walters
384d631485
Switch to use the new ComponentApplicationLifecycle system to listen for legacy systems to be ready
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-05 12:23:00 -07:00
Sergey Pereslavtsev
807d0d7a5a
Fixed hierarchies migration. Fixed assert with invalid entity bounds
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-05 17:32:16 +00:00
Gene Walters
3973a59d77
Wait to activate the editor-server until CrySystemInitialized so that the logging system is ready. Automated testing listens for these logs
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-04 18:37:15 -07:00
kberg-amzn
ed06ef7ed2
Removing ITimeoutHandler to simplify timeout queue interface, removes some unneeded code
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-04 16:48:39 -07:00
kberg-amzn
dedb367e9a
Remove lots of mock interface code duplication
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-04 16:29:41 -07:00
kberg-amzn
97e10d8210
Fix mock and benchmark interfaces
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-04 16:27:05 -07:00
Sergey Pereslavtsev
54c1b00902
Fixed AR nightly for non-prefab levels where MultiplayerEditorSystemComponent prints an error
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-04 14:55:03 +00:00
Sergey Pereslavtsev
2b2e5c6367
Fixed client hierarchy construction to check for authority instead of controller
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-11-04 14:52:35 +00:00
kberg-amzn
7e65104155
Addressing PR feedback
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-03 19:40:20 -07:00
kberg-amzn
8a3d055f8b
Some cleanup around handling of migrations to simplify interfaces and add additional hooks for functionality
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-03 19:34:10 -07:00
kberg-amzn
fda7a6353e
Backing out some temporary debugging code
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-03 14:20:56 -07:00
kberg-amzn
5b734b9d41
A number of fixes to timeout and disconnect handling
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-11-03 14:17:20 -07:00
Sergey Pereslavtsev
2ac75d1231
Merge branch 'development' of https://github.com/o3de/o3de into NetHierarchies2
2021-11-03 13:58:50 +00:00
Gene Walters
2a3667f7b0
Merge branch 'upstream/development' into LYN-6770_AutomatedTestNetInputs
2021-11-01 20:23:27 -07:00
Gene Walters
fa32940205
Adding logs to dedicated-server start up (unable to use for automated testing just yet since remote console cant be connected that early). Adding pytest check to make sure AutomatedTesting.ServerLauncher is running. Moved sveditor_port to MultiplayerEditorConnection since it was never actually getting used when it was in EditorSystemComponent (dedicated servers dont know about editor)
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-01 13:01:59 -07:00
Gene Walters
2f38873e03
Adding logs for successful steps occurring in the editor-server process. AutomatedTesting will expect these logs and can be helpful to narrow down any test fails
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-10-29 13:55:32 -07:00
Adi Bar-Lev
0ee7ab9df5
Merge commit '837831a91990861220d982ca21a302197178092a' into barlev/gitflow_211028_O3DE
2021-10-28 19:17:28 -04:00
Gene Walters
6d673643be
Re-merging latest dev after rebasing to fix DCO. Re-resolving conflicts
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-10-28 09:56:01 -07:00
Gene Walters
b324b3a1a9
Minor code comment grammar change
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-10-28 09:47:17 -07:00
Gene Walters
013beafe7e
Minor code warning grammar fix
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-10-28 09:47:15 -07:00
Sergey Pereslavtsev
9109b9de8d
Removed includes
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-10-28 15:19:11 +01:00
Sergey Pereslavtsev
43e6731714
Removed hierarchy validation since it is not always applicable
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-10-28 15:17:11 +01:00
Sergey Pereslavtsev
348bb7d37e
Added setreg option for network spawnables serialization format
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-10-28 13:49:08 +01:00
Gene Walters
e6650f1ff4
LYN-7655 Fix Race Condition When Launching at Editor-Server ( #4946 )
...
* Fix a race condition where the editor tries to connect to the editor-server before the editor-server is ready (originally discovered on lower-spec Jenkin machines). Change editor-server so that editor waits to receive a EditorServerReadyForInit before trying to send all the level data.
* The editor might not be the connector so make sure to connect to the actual MP simulation even if the editor isn't the editor-server connect (if editorsv_launch=true then the editor-server will connect to the editor)
* Adding warnings if MPEditorConnection cannot find certain cvars
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-10-27 10:38:09 -07:00
AMZN-Olex
250a91dd96
Network Hierarchy Root and Child components can now act as MultiplayerInputDriver for components with NetworkInputs
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com >
2021-10-26 19:10:46 -04:00
Sergey Pereslavtsev
dc336ffaba
Added validation to net prefab processing to error if there are hierarchical entities without Net hierarchy components
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com >
2021-10-26 16:10:35 +01:00