Commit Graph

3551 Commits

Author SHA1 Message Date
scottr 7011bb66f1 [cpack/stabilization/2106-jenkins] missed cpack log file path shortening 2021-06-18 08:36:28 -07:00
scottr 071ed777bd [cpack/stabilization/2106-jenkins] removed enforcement of aws profile for s3 upload installer artifacts 2021-06-18 08:33:48 -07:00
scottr 6e727e6ab0 [cpack/stabilization/2106-jenkins] various changes to shorten cpack install path on windows 2021-06-18 08:25:03 -07:00
scottr 1d8fb2a7f7 [cpack/stabilization/2106-jenkins] fixed installer framework include in jenkins job 2021-06-18 08:20:40 -07:00
scottr 059324add9 [cpack/stabilization/2106-jenkins] updated installer job tags to run nightly 2021-06-18 08:15:59 -07:00
scottr 8279b65622 [cpack/stabilization/2106-jenkins] updated installer job temp dir to use WORKSPACE_TMP and added log file dump on error 2021-06-18 08:14:47 -07:00
amzn-sean 84de2d2e12 Fixed failing periodic physics tests (#1429) 2021-06-18 15:38:49 +01:00
Mike Balfour 13bf685661 Cleaned up vegetation_precompiled.h (#1418)
* Removed vegetation_precompiled.h
* Removed CryCommon dependency
2021-06-18 09:28:31 -05:00
amzn-sean b17c5ca3e6 adding physics tick time to post simulate event (#1401) 2021-06-18 14:09:34 +01:00
Tom Hulton-Harrop 108b6f8e0c Updates to ensure OnEntityTransformChanged is called correctly (LYN-2644) (#1405) 2021-06-18 12:44:34 +01:00
amzn-sean ed186aff18 add missing disconnect SimulatedBodyBus to ragdoll destroy (#1404) 2021-06-18 12:29:53 +01:00
Tom Hulton-Harrop 79e510c738 Make white box mesh incompatible with atom render mesh (#1394) 2021-06-18 10:50:28 +01:00
Chris Burel 6d0ef1cf57 Avoid reading from a destroyed variable (#1347)
This code iterates over the items in a vector, and if one case is met,
it mutates that same vector. This invalidates the object, as the place
where that object used to be has been moved.
2021-06-17 17:54:10 -07:00
Esteban Papp 2fa6883455 SPEC-6663 add file(READ files to tracking (#1416)
* adding property to track files read by file(READ

* code review comments

* adding newline
2021-06-17 16:16:10 -07:00
Danilo Aimini 8fb0007201 Remove Prefab System toggle from the Editor Preferences dialog. (#1415) 2021-06-17 15:12:14 -07:00
Vincent Liu 273f4f89a1 [LYN-3988] Remove session token cvar (#1407) 2021-06-17 14:53:16 -07:00
Ken Pruiksma 32fb0e4627 [ATOM-15810] Removing maximum values from light intensity (#1414)
Setting hard max values to float max. Also allowing EV100 values hard minimum to be lowest float. Soft min and max will remain the same for a consistent ux, but we will no longer keep people from manually entering really high or low values that are technically fine.
2021-06-17 16:51:26 -05:00
Jacob Hilliard 28d0d0cce9 Fix frame visualizer not closing (#1383) 2021-06-17 14:36:42 -07:00
Jonny Galloway 24dfa0c562 Merge pull request #1397 from aws-lumberyard-dev/Atom/gallowj/stabilization/2106
Modernize the Sponza asset gem to best practices and consistency
2021-06-17 16:35:00 -05:00
Mike Balfour f6fc425a1a Prefab support for dynamic vegetation (#1374)
* First version of prefab support for dynamic vegetation

* Addressed PR feedback
- Made MockSpawnableEntitiesInterface a proper GMock in AzFramework
- Added Get/SetSpawnableAssetId
- Added lots of comments to better explain things that were asked about in the PR

* Exposed AzFrameworkTestShared on all platforms, not just host platforms
2021-06-17 16:24:33 -05:00
Ken Pruiksma 0a11931422 Removing reference to non-existent parallax.invert property. (#1409) 2021-06-17 16:10:37 -05:00
gallowj 8471d3cca4 removed a gem reference, the gem was moved to an~other repo 2021-06-17 15:57:37 -05:00
Esteban Papp 98767862af LYN-4071 Mac compile times are excessive 2021-06-17 13:41:36 -07:00
Eric Phister 35568d97e5 Fixes an issue configuring with external project (#1408)
With engine-centric builds where LY_PROJECTS has paths that sit outside
the engine, there was an erroneous fatal message that would occur.
2021-06-17 15:31:49 -05:00
gallowj 40b822e8b7 fixed validation errors, also removed cmake file 2021-06-17 15:25:25 -05:00
pappeste 808d31ea32 change the lock to avoid the "IS_NEWER_THAN" check from failing in race conditions 2021-06-17 12:44:49 -07:00
lumberyard-employee-dm 7dabe8b6e9 Updated Several Engine Gem's CMakeLists.txt to add themselves as required Gems (#1262)
* Fixed organization of the AssetProcessor SourceAssetBrowser

Assets within the Engine Root were grouped under a '/' entry.
That has been fixed to use the relative path within the engine root for
those assets
Assets outside of the Engine Root, but on the same drive were using
absolute paths before. Now there are child entries that navigate up the
directory hierarchy to those asset locations

* Added ly_enable_gems call to Atom gems targets that are required

The DefaultLevel.prefab contains several Atom components, that require
the Atom RHI, RPI, Common_Feature, ShaderBuilder and AtomLyIntegration CommonFeatures
gems to be enabled in order to successfully process in the
AssetProcessor.

* Added ly_enable_gems call to make the Camera gem required in Tools,
Builders and Clients.

This is needed as the DefaultLevel.prefab contains an Editor Camera
Component

* Adding the ly_enable_gem call to make the Maestro gem required

CrySystem currently requires Maestro to be enabled in order to
initialize

* Added ly_enable_gems call to the SceneProcessing gem to make it required

The SceneCore and SceneData libraries that are part of the core engine
Code folder requires the SceneProcessing gem to be enabled in order to
invoke the InitializeDynamicModule hooks in DllMain.cpp in order to
initialize those libraries.

* Fixed bad argument in comment for Prefab CMakeLists.txt

* Fixed Assert in Asset Builders due to the Atom RPI Builder

The Atom RPI Builder was enabling the Asset Catalog for the ScriptAsset a second time

The Atom Feature Common EditorSystemCommonComponent.cpp which also loads
in the AssetBuilder is enabling the Asset Catalog for the ScriptAsset

Added BehaviorContext reflection to the OutputDeviceTransformType enum
to fix the BehaviorContext errors about reflecting a method that returns
such an enum

* Added TypeId output to the JsonDeserializer report message about missing
ClassData

Previously the report callback would indicate that the target type was
missing Serialization class data, but didn't indicate the TypeId of the
target type

* Added support to the ly_enable_gems function to be able to support
0 gems being enabled.

Updated the Install step for CMake to propagate any ly_enable_gems
within a CMakeLists.txt for a target into the generated CMakeLists.txt
that is made for each installed IMPORTED target

* Adding newline to the end of the Camera Gem CMakeLists.txt

* Fixing target TYPE parameter for actual Gem Modules to use the GEM_MODULE tag instead of MODULE

* Reverting change to the DESTINATION directory for the installed CMakeLists.txt to use the relative path to the installed directory

* Adding the Atom_Bootstrap gem as a required gem

The Client and GameLaunchers required the Atom_Bootstrap gem in order to create the NativeWindow
Added Atom_Feature_Common client module as a runtime dependency of the AtomLyIntegration CommonsFeature client module

* Fixed register.py --all-projects-path and --all-gems-path arguments to
NOT register projects or gems that are within a template folder
Fixed reading of old pre-1.0 o3de_manifest.json files where the
"engines" key was a json array

* Changed how the relative target source directory is calculated when that source directroy resides outside of the engine root.
The final dirname component is used with a unique SHA256 has to form a <dirname>-<8 char SHA256> folder for installing files into

* Adding newline to the end of Atom_Bootstrap CMakeLists.txt

* Moving ly_enable_gems variants for Tools and Builders inside of PAL_TRAIT_BUILD_HOST_TOOLS block

* Adding a comment to AWSCore.ResourceMappingTool target to indicate that it is not a GEM_MODULE.
Furthermore it cannot be loaded with the Gem system because the library is in a different directory the executable
2021-06-17 13:58:20 -05:00
Gene Walters 4be9ce56c4 Merge pull request #1399 from aws-lumberyard-dev/CherryPickNetworkingFixes
Cherry pick networking fixes
2021-06-17 11:48:34 -07:00
Aaron Ruiz Mora 7781307afe Fixed cloth automated tests. (#1400)
Bone transforms buffer is not valid when using Null renderer, which caused the test to fail since it reported an error and ultimately crashing as well. For now it's been worked around by checking the pointer is valid and not printing the error when null renderer is used, a task for the Atom team has been created to fix this properly in the future (ATOM-15807).
2021-06-17 19:23:12 +01:00
Guthrie Adams 593e8e6ca1 Merge pull request #1390 from aws-lumberyard-dev/Atom/guthadam/LYN-4251_material_component_menu_fixes
LYN-4251 fix confusing material component menu options
2021-06-17 13:03:30 -05:00
Guthrie Adams d7b5c1126d Merge pull request #1391 from aws-lumberyard-dev/Atom/guthadam/LYN-4547_material_editor_display_name
LYN-4547 prepending O3DE to the material editor application name
2021-06-17 13:02:57 -05:00
AMZN-koppersr fad6475066 Merge pull request #1350 from aws-lumberyard-dev/JsonSerialization/ArrayDefaultsFix
Json serialization array defaults fix
2021-06-17 10:44:54 -07:00
evanchia-ly-sdets 65bd1f90a6 Merge pull request #1365 from aws-lumberyard-dev/test_tools_project_fix
fixing ly_test_tools function and unit tests
2021-06-17 09:56:09 -07:00
mrieggeramzn 4746afa332 Merge pull request #1388 from aws-lumberyard-dev/Atom/mriegger/ATOM-15406
Fix for PCF shadow flickering
2021-06-17 09:51:25 -07:00
Jonny Galloway 196444d5b0 Merge branch 'stabilization/2106' into Atom/gallowj/stabilization/2106 2021-06-17 11:42:30 -05:00
AMZN-koppersr 6b08ab6e03 Merge branch 'stabilization/2106' into JsonSerialization/ArrayDefaultsFix 2021-06-17 09:32:43 -07:00
Aaron Ruiz Mora b9fbfac967 Fixed Physics Materials periodic automated tests (#1396) 2021-06-17 17:19:50 +01:00
Gene Walters 0810f353c6 Cherrypick 7adf5ca5a5911997102017e2db7981e7b2926100. Fixed assert for network prefabs when asset path was empty 2021-06-17 09:11:48 -07:00
Gene Walters f2b6ea7d8d Cherry picking a47b30c708. Correcting the issue with processing of prefabs in Multiplayer projects 2021-06-17 09:07:37 -07:00
Gene Walters eadbb17034 Cherry picking fff7cc0e10. Redcoding parts of old Networking that used Bullet external physics code 2021-06-17 09:04:22 -07:00
gallowj 705fd9bfa0 Update to modernize the Sponza asset gem to best practices and consistency 2021-06-17 10:33:22 -05:00
Eric Phister c0d9db6739 Fixes for SDK include directory structure (#1319)
* Updates the install of SDK includes

Needs some fixes so that public include paths that were going up
directories or had multiple path components would resolve to correct
destination paths during install.

* Updates the logic to fix AutoGen includes

AutoGen headers were a special case because matching relative paths
failed due to the headers existing under the build path.

* Removes trailling slashes from inc dirs

This addresses a quirk in CMake where installing a directory with a
trailing slash has different behavior than one without.  The include
paths being processed had a wide mix of slash or not.

* Update cmake/Platform/Common/Install_common.cmake

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fixes fatal errors in the last change

The call to cmake_path IS_PREFIX was ill-formed.  Also the trailing
directory separator was being removed from the DESTINATION but really
needed to be removed from the DIRECTORY.

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
2021-06-17 10:29:28 -05:00
SergeyAMZN 39c396c4cd Merge pull request #1379 from aws-lumberyard/LYN-3779_Blast_fix
Fixed crash when BlastFamilyComponent is used on an entity with no render mesh
2021-06-17 11:33:56 +01:00
Benjamin Jillich 7bd42e1f8d [LYN-4410] Back buttons should preserve selected gems (#1359) 2021-06-17 06:55:28 +02:00
guthadam 7e231c8e36 LYN-4547 prepending O3DE to the material editor application name 2021-06-16 23:37:43 -05:00
guthadam 58d516688f LYN-4251 fix confusing material component menu options 2021-06-16 22:57:20 -05:00
mriegger 709bca5849 Adding code that prevents nans occuring due to precision issues 2021-06-16 20:15:08 -07:00
galibzon 1097cb7ce3 [ATOM-14935] MaterialHotReloadTest Fails On Second Try (#1384)
[ATOM-14544] Add Reset() function to IShaderVariantFinder

ShaderVariantAsyncLoader::Reset() now Shutdown and Init(). It clears
the cache of ShaderVariantAssets it keeps in memory.

Signed-off-by: garrieta <garrieta@amazon.com>
2021-06-16 20:56:39 -05:00
Chris Santora 6cd1c44b7e Merge pull request #1385 from aws-lumberyard-dev/santorac/stabilization/2106/HotReloadFixes
Fixed ATOM-14613 MatertialHotReloadTest fails to reload the material after reloading the shader

The problem was...
After a MaterialAsset reload, there could be two different versions of the MaterialAsset in memory: the old one and the reloaded one. The old one is still connected to buses and can send reinitialization messages when other things reload or reinitialize. So when the shader asset reloaded, both the old and new MaterialAsset were sending reinitialization messages. Material::OnMaterialAssetReinitialized was using the materialAsset parameter to initialize the Material, and the latest call to OnMaterialAssetReinitialized was for the old MaterialAsset.

The solution is to use the m_materialAsset member when reinitializing the Material. I also added checks in a couple places to skip unnecessary reinitialization, and added comments in the bus headers to warn developers about this issue.

Testing: Added a new step to ASV's MaterialHotReloadTest.bv.lua script for the error scenario, and this now passes. Ran ASV full test suite, both dx12 and vulkan, only known issues occurred. Tested .shader and .material hot reload in Editor and Material Editor.

See also aws-lumberyard/o3de-atom-sampleviewer#121
2021-06-16 18:47:32 -07:00
AMZN-koppersr 1b1a5a28f4 Using zero-initializer for defaults in the Json Serializer instead of explicit values 2021-06-16 17:26:14 -07:00