Vincent Liu
74a876ae3b
Move multiplayer session interface out of AzFramework library ( #7338 )
...
Signed-off-by: onecent1101 <liug@amazon.com >
2022-02-03 11:53:00 -08:00
Esteban Papp
6fad254b59
Merge branch 'development' into optimization/unused_files
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
# Conflicts:
# Code/Editor/IEditorImpl.cpp
# Code/Editor/IEditorImpl.h
# Gems/LmbrCentral/Code/Tests/lmbrcentral_editor_tests_files.cmake
2022-01-25 15:40:30 -08:00
Gene Walters
b98bc34eb1
Merge pull request #7031 from aws-lumberyard-dev/LYN-9321_RequestNetSpawnableErrorFix
...
Fix Editor Play-Mode RequestNetSpawnable Error
2022-01-25 09:52:00 -08:00
Daniel Edwards
0a5f472f43
Clang 13: Fix build errors ...
...
... due to local variables only being written to (but never read).
Signed-off-by: Daniel Edwards <dev@danieledwards.de >
2022-01-23 22:29:03 +01:00
Esteban Papp
be2e2ed4d1
Removes PhysicsUtils.h and PhysicsUtils.cpp from Gems/Multiplayer
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2022-01-20 16:07:51 -08:00
Gene Walters
a452da819d
Dont allow spawning netbound entities by default, we first need to initialize multiplayer and know our network agent type (dedicated-server/client-server/client). This will stop the editor playmode (which doesn't init multiplayer until it connects to the server) from spawning netbound entities
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-19 14:36:36 -08:00
Karl Berg
57394bc81d
Merge pull request #6958 from Bindless-Chicken/fix-imgui-multiplayer
...
Fix missing ImGui::End in multiplayer windows
2022-01-19 11:53:31 -08:00
Gene Walters
542d652776
Merge pull request #6979 from aws-lumberyard-dev/LYN-9668_UpdateNetSpawnLibToOnlyStoreNetSpawnables
...
Updating NetworkingSpawnableLibrary to Only Store Network Spawnables
2022-01-19 09:25:42 -08:00
Gene Walters
fbfea49b68
small comment tweak based on feedback
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-18 23:55:40 -08:00
Gene Walters
54de15b0ec
Adding '.network.spawnable' as a network constant
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-18 16:34:58 -08:00
Gene Walters
626b16dbae
Updating NetworkingSpawnableLibrary to only store network spawnables, instead of all spawnables
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-18 10:27:10 -08:00
Gene Walters
786d6b5f85
minor code readability tweak
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-18 10:22:31 -08:00
Bindless-Chicken
aac28f73aa
Fix missing ImGui::End in multiplayer windows
...
Signed-off-by: Bindless-Chicken <1039134+Bindless-Chicken@users.noreply.github.com >
2022-01-17 14:25:50 +00:00
Gene Walters
e4bd28f636
Update NetworkSpawnableLibrary to only hold onto network.spawnables (instead of all spawnables)
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-14 13:48:37 -08:00
Gene Walters
c8e5bcc901
Dont allow spawning netbound entities by default, we first need to initialize multiplayer and know our network agent type (dedicated-server/client-server/client). This will stop the editor playmode (which doesn't init multiplayer until it connects to the server) from spawning netbound entities
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-14 12:01:32 -08:00
AMZN-byrcolin
c778606c89
Templates restricted ( #6498 )
...
* Templates/Restricted upgrade/fixes:
Fixed template storage format: templates now only store true relative paths and no longer save "origin" paths and "optional" has been removed, it was never used.
Upgraded all templates to new standard
Template system now correctly handles child objects: Child objects no longer have to specify restricted they inherit from parent
Restricted now operates at the object level and makes no assumptions about parent
Restricted templates can now be combined and seperated on creation
ly_get_list_relative_filename has been deprecated for o3de_pal_dir
All Gems/Projects/Templates updated to use new code
Signed-off-by: byrcolin <byrcolin@amazon.com >
2022-01-14 10:27:20 -08:00
Gene Walters
ffde762081
Minor comment tweak, and code readability
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2022-01-12 12:43:39 -08:00
lumberyard-employee-dm
18ea4ba6a8
Added a CriticalAssetsCompiled Lifecycle event ( #6469 )
...
The CriticalAssetsCompiled event can be handled to detect when the
AssetProcessor has finished processing Critical Assets
Also with the new event, an audit has been performed over all the
locations where the AssetCatalogEventBus OnCatalogLoaded event was being
handle to make sure it was the proper event to use.
If the handler was actually examing the enumerating over the full
catalog or querying all assets within the catalog, then it was a proper
use.
For handlers that were interested in a particular asset it was not
Moreover added implementations of `OnCatalogAssetChanged` and
`OnCatalogAssetAdded` to the FileTagComponent and the MaterialViewportComponent.
Any applications which uses the AtomToolsApplication
class(MaterialEditor, AtomSampleViewerStandalone,
ShaderMangementConsole) now signals a "CriticalAssetsCompiled" lifecycle
event as well as loads the "assetcatalog.xml" if it exists.
The Launcher application signals the "CrticalAssetsCompiled" event and
reloads the "assetcatalog.xml" for the ${project}.GameLauncher and
${project}.ServerLauncher in Launcher.cpp
Finally the Editor signals the "CriticalAssetsCompiled" and reloads the
"assetcatalog.xml" in CryEdit.cpp
resolves #6093
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2022-01-10 15:21:04 -06:00
AMZN-koppersr
603967d61f
Fixed build issues with Spawnable Entity Aliases.
...
Signed-off-by: AMZN-koppersr <82230785+AMZN-koppersr@users.noreply.github.com >
2022-01-06 11:04:54 -08:00
AMZN-koppersr
13375cd7d9
Merge branch 'development' into Prefabs/ProcessStackAddPrefabBug
2022-01-05 11:12:57 -08:00
Gene Walters
8cd4a3dced
Fix netbind component to use the new svg icons instead of png (which no longer exist)
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-30 12:50:06 -08:00
Gene Walters
8b041f5280
merging latest dev
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-18 10:34:49 -08:00
Gene Walters
92d3df17fa
Fix incomplete comment
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-18 10:16:02 -08:00
Gene Walters
bf8422152b
Turn off stdout buffering when connecting to editor-server so that the editor properly gets all the server-logging without having to first fill up a buffer. Allows the logs to pipe instantly for easier debugging, and also fixes a problem where the logs wont reach the editor because the buffer doesn't fill
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-17 00:12:21 -08:00
AMZN-koppersr
a964120b7a
Updated the NetworkPrefabProcessor with the latest Prefab builder changes.
...
Signed-off-by: AMZN-koppersr <82230785+AMZN-koppersr@users.noreply.github.com >
2021-12-16 16:01:09 -08:00
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
8b044e23ce
Merge branch 'upstream/development' into LYN-6769_TestingRPCs
2021-12-09 10:43:16 -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
80a216e079
Adding RPC test. Update editor-servers to flush stdout
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-08 00:21:02 -08:00
Gene Walters
54fd0011a7
Merge branch 'LYN-8514_AutomatedReviewServerLogChecks' into LYN-6769_TestingRPCs
2021-12-07 22:51:22 -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
8131cf6780
Merge branch 'LYN-8514_AutomatedReviewServerLogChecks' into LYN-6769_TestingRPCs
2021-12-07 14:55:18 -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
390bd6ece3
Merge branch 'upstream/development' into LYN-6769_TestingRPCs
2021-12-06 11:56:19 -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
Gene Walters
fb330b2af9
Merge branch 'upstream/development' into LYN-6769_TestingRPCs
2021-12-03 10:40:48 -08:00
Gene Walters
c00d7ff658
Small formatting fix to jinja for autocomponent's behavior context
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-12-03 00:56:40 -08: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