The asset manager is used to scan directories on disk for different Primary Assets that can then be loaded on demand. Game feature plugins support the ability to add additional scan directories when they are registered. When the asset manager settings are changed in the editor, it tries to rescan all directories for primary assets. However, this is not correctly scanning the additional directories added by game feature plugins.
In the Lyra sample used in the steps to reproduce, the default asset manager settings load LyraUserFacingExperienceDefinition assets from the /Game/System/Playlists and /Game/UI/Temp directories, which covers the 2 default experiences. Other experiences are enabled using Game Feature Data such as /TopDownArena/TopDownArena that add new directories to scan. When the asset manager settings are modified, it only rescans the directories in the base settings and is failing to rescan the directories added by game features. This problem goes away if you restart the editor.
Expected Behavior:
It should show the same number of teleporter pads as it did the first time
Actual Behavior:
It only shows 2 teleporter pads because it ignores the ones added by game features
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-165544 in the post.
3 |
Component | UE - Gameplay |
---|---|
Affects Versions | 5.1, 5.2 |
Target Fix | 5.4 |
Fix Commit | 28880889 |
---|---|
Main Commit | 28880984 |
Created | Sep 29, 2022 |
---|---|
Resolved | Oct 18, 2023 |
Updated | Nov 4, 2023 |