chiyenteng
ca49eedc5f
Convert prefab to temp spawnable assets ( #6179 )
...
* Convert prefab to temp in-memory spawnable assets
Signed-off-by: chiyenteng <82238204+chiyenteng@users.noreply.github.com >
2021-12-10 10:55:01 -08:00
Gene Walters
4b3d1452fd
Merge pull request #6066 from aws-lumberyard-dev/LYN-8514_AutomatedReviewServerLogChecks
...
Updating Multiplayer PyTests To Check Server Logs
2021-12-09 09:15:58 -08:00
Gene Walters
16f5f45b7e
Merge pull request #6170 from aws-lumberyard-dev/LYN-8770_PrintNetEntityNameIfImproperlyDeleted
...
Print Entity name if Improperly Deleted
2021-12-08 07:38:43 -08:00
Gene Walters
1983e94580
Minor tweak to re-add ';' to LOG
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-07 16:27:23 -08:00
Gene Walters
b123379380
Properly adding newlines when using LogInternalV; removing the need of hand-placed newlines to AZ_LOG
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-07 14:53:59 -08:00
Esteban Papp
cd5306febf
Merging from development
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-07 12:35:41 -08:00
Gene Walters
9ae3da7acd
Merge branch 'upstream/development' into LYN-8514_AutomatedReviewServerLogChecks
2021-12-06 11:30:12 -08:00
Gene Walters
b19f96f1fe
Small safety check. It's unlikely, but possible, that a component is created and not assigned to an entity.
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-06 09:53:41 -08:00
Gene Walters
b50739f55e
Small tweak to assert back to match existing format
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-06 09:06:04 -08:00
Gene Walters
4f9d4b7045
Improved logged to print entity name if improperly deleted; helps when debugging to find the problem entity
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-06 09:02:15 -08:00
Olex Lozitskiy
701fd7f0d0
Multiplayer benchmark cleanup
...
Signed-off-by: Olex Lozitskiy <5432499+AMZN-Olex@users.noreply.github.com >
2021-12-03 13:46:28 -05:00
Esteban Papp
bb685ee40b
Merge branch 'development' into redcode/driller_removal
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-02 18:12:48 -08:00
Esteban Papp
59ef6f983f
Removes Driller from ScriptCanvas
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-12-02 13:55:00 -08:00
Guthrie Adams
50f094c51e
Fixing warnings caused by system components not added to serialize context
...
==================================================================
2021-11-30T20:21:23{000000000000395C}[Module Manager] Trace::Warning
D:/projects/lyengine/git/ly-dev/o3de/Code/Framework/AzCore/AzCore/Module/ModuleManager.cpp(34): 'bool __cdecl AZ::ShouldUseSystemComponent(const class AZ::ComponentDescriptor &,const class AZStd::vector<class AZ::Crc32,class AZStd::allocator> &,const class AZ::SerializeContext &)'
2021-11-30T20:21:23{000000000000395C}[Module Manager] Component type MultiplayerToolsSystemComponent not reflected to SerializeContext!
2021-11-30T20:21:23{000000000000395C}[Module Manager] ==================================================================
2021-11-30T20:21:23{000000000000395C}[Module Manager]
==================================================================
2021-11-30T20:21:23{000000000000395C}[Module Manager] Trace::Warning
D:/projects/lyengine/git/ly-dev/o3de/Code/Framework/AzCore/AzCore/Module/ModuleManager.cpp(34): 'bool __cdecl AZ::ShouldUseSystemComponent(const class AZ::ComponentDescriptor &,const class AZStd::vector<class AZ::Crc32,class AZStd::allocator> &,const class AZ::SerializeContext &)'
2021-11-30T20:21:23{000000000000395C}[Module Manager] Component type PythonEditorFuncs not reflected to SerializeContext!
2021-11-30T20:21:23{000000000000395C}[Module Manager] ==================================================================
Signed-off-by: Guthrie Adams <guthadam@amazon.com >
2021-12-02 14:34:36 -06:00
Gene Walters
b262909117
Misc whitespace edit
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-01 10:06:04 -08:00
Gene Walters
c8b631054f
Misc edit to keep an AZLOG_INFO instead of AZPrint. No real difference, but good as an example for pytest
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-01 10:04:26 -08:00
Gene Walters
78d0a8e54a
Merging latest LYN-8025_PipeEditorServerLogsToEditor
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-30 12:08:19 -08:00
Gene Walters
8afd47950c
Removing an extra new-line I added by accident
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-30 12:01:04 -08:00
Gene Walters
6d0ba68b55
Using new GetBool value when checking if we're an editor-server. Clean up MPEditorSystemComponent for unused #includes, and null-checking when piping server logs
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-30 11:12:07 -08:00
Gene Walters
d786e9d8e2
Merge branch 'LYN-8025_PipeEditorServerLogsToEditor' into LYN-8514_AutomatedReviewServerLogChecks
2021-11-29 18:27:40 -08:00
Gene Walters
9c9d2c70f5
Making sure to stop pulling server logs before terminating the server process; otherwise we might be pulling an invalid process-communicator. Updating AZCoreLogSink to also allow for piping warnings/errors/asserts
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-29 18:26:31 -08:00
Gene Walters
f4e762d9bd
Adding warning if server fails to load the sv_defaultPlayerSpawnAsset when a client joins the server. Updating Multiplayer PyTest to watch out for this warning.
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-29 16:36:28 -08:00
Gene Walters
75e8ef8089
Misc cleanup. Making sure ServerLauncher closes if tests fail
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-29 13:36:41 -08:00
Gene Walters
97b27513e9
Editor is now listening to editor-server stdout so adding newlines to lines we care about. (Editor is separating out the log lines based on newline)
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-23 19:27:16 -08:00
Gene Walters
ff862a2f20
Fix memory leak of ProcessWatcher
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-22 18:56:48 -08:00
Gene Walters
0bd86cf0a4
small edit: removing pragma optimize offs
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-20 14:58:09 -08:00
Gene Walters
02590a1766
AzCoreLogSink will check if it's running in an editor-server and will allow stdouts
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-20 14:48:48 -08:00
Gene Walters
6005a4e08b
Merging last dev
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-19 23:12:59 -08:00
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
Gene Walters
4d161f42df
WiP. fwrites are being stopped by AZCoreLogSink; need a long term solution to work around this...
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-15 12:37:21 -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
Gene Walters
fe5aeb9a5f
Merging latest dev
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-10 19:41:36 -08:00
Gene Walters
d6803d800b
Externed cvars dont get registered with setreg (not sure why). Updating sv_defaultPlayer to grab the variable via console string lookup instead so the proper value is gathered
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-10 19:37:11 -08: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
Gene Walters
5d5087e0d3
Moving CommunicatorTracePrinter to a place that AP and Multiplayer gem can use it. MultiplayerEditorSystemComponent now watching the server process and pumping the trace printer. Wip; for some reason not all the server logs are reaching the editor
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-11-09 11:11:15 -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