You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Registry
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>
4 years ago
..
Platform 1. Add nullptr checks to prevent crashes when non-critical shaders fail to compile. (#5451) 4 years ago
AssetProcessorPlatformConfig.setreg Fixed critical json property (cherry picked from RTE branch) (#6220) 4 years ago
CMakeLists.txt Cherry-pick of Linux deb package to stabilization (#5778) 4 years ago
application_lifecycle_events.setreg Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago
application_options.setreg (Continuation) Implemented automation paralellization & standarization (#1718) 4 years ago
bootstrap.setreg Collection of miscellaneous PAL changes required for restricted platforms. (#6482) 4 years ago
fileio.setreg Update the FileIO Aliases (#4186) 4 years ago
gem_autoload.serializecontexttools.setreg Support for nested slice conversions (#1121) 5 years ago
prefab.setreg Spawning priority threshold through SetReg 5 years ago
prefab.test.setreg Convert prefab to temp spawnable assets (#6179) 4 years ago
prefab.tools.setreg LYN-2537 engine assets (#254) 5 years ago
profiler.setreg [profiler_capture_api] added trailing newlines to a couple new files 4 years ago
sceneassetimporter.setreg Added a new registry setting that disables automatic conversion of materials from model files like FBX. 4 years ago
setregbuilder.assetprocessor.setreg Various updates to get pak builds working (#4552) 4 years ago
streamer.editor.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago
streamer.game.debug.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago
streamer.game.profile.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago
streamer.game.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago
streamer.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago
streamer.test.setreg Added new lines to Streamer.*.setreg files at the end 5 years ago