From fd81000d53b2beea63a45d0353ed9f62e8fad280 Mon Sep 17 00:00:00 2001 From: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com> Date: Tue, 8 Jun 2021 17:44:30 -0700 Subject: [PATCH] Fix the relative path in the Source param for the PrefabLevel_OpensLevelWithEntities prefab (#1196) * Fixed the relative path in the Source param for the PrefabLevel_OpensLevelWithEntities prefab. Plus bonus capitalization fix. * Add empty Cached Transform Parent parameter to prevent patch application issues. This will be fixed once prefab sanitation on load is added. --- .../PythonTests/prefab/PrefabLevel_OpensLevelWithEntities.py | 2 +- .../PrefabLevel_OpensLevelWithEntities.prefab | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AutomatedTesting/Gem/PythonTests/prefab/PrefabLevel_OpensLevelWithEntities.py b/AutomatedTesting/Gem/PythonTests/prefab/PrefabLevel_OpensLevelWithEntities.py index 3401c6a0a9..5860294f83 100644 --- a/AutomatedTesting/Gem/PythonTests/prefab/PrefabLevel_OpensLevelWithEntities.py +++ b/AutomatedTesting/Gem/PythonTests/prefab/PrefabLevel_OpensLevelWithEntities.py @@ -41,7 +41,7 @@ def PrefabLevel_OpensLevelWithEntities(): EXPECTED_EMPTY_ENTITY_POS = Vector3(10.00, 20.0, 30.0) helper.init_idle() - helper.open_level("prefab", "PrefabLevel_OpensLevelWithEntities") + helper.open_level("Prefab", "PrefabLevel_OpensLevelWithEntities") def find_entity(entity_name): searchFilter = entity.SearchFilter() diff --git a/AutomatedTesting/Levels/Prefab/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab b/AutomatedTesting/Levels/Prefab/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab index 0776f25935..2a26699fd5 100644 --- a/AutomatedTesting/Levels/Prefab/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab +++ b/AutomatedTesting/Levels/Prefab/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab @@ -1,5 +1,5 @@ { - "Source": "Levels/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab", + "Source": "Levels/Prefab/PrefabLevel_OpensLevelWithEntities/PrefabLevel_OpensLevelWithEntities.prefab", "ContainerEntity": { "Id": "Entity_[403811863694]", "Name": "Level", @@ -15,7 +15,8 @@ "Component_[13764860261821571747]": { "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", "Id": 13764860261821571747, - "Parent Entity": "" + "Parent Entity": "", + "Cached World Transform Parent": "" }, "Component_[15844324401733835865]": { "$type": "EditorEntitySortComponent",