Game.ini:[/Script/Engine/AssetManagerSettings]:PrimaryAssetTypes is an ini setting to specify which PrimaryAssets should be used by the engine during cook to specify which packages gets cooked and which chunks they go into.
That field is marked with a map uniqueness entry on PrimaryAssetType:
@PrimaryAssetTypesToScan=PrimaryAssetType
It is unique because the editor's implementation of this field maps from PrimaryAssetType to the given data, so having more than one entry for a PrimaryAssetType would clobber all but the last entry and would probably cause unexpected errors for the ini author.
But the struct written by PrimaryAssetTypesToScan has a field - Directories - that would be useful to be extendable from plugins, so a licensee could add their plugin directories to the search directories for a given type.
Change the ini settings and parsing to allow some mechanism for plugins to add directories.
Idea 1) Remove the uniqueness marker, make PrimaryAssetTypesToScan an array that allows duplicates as far as the ini parser is concerned, and do the merging of duplicate entries in the array using custom code in AssetManager.cpp that allows extending Directory list but gives an error on any other changes.
Idea 2) Add a separate ini field PrimaryAssetDirectories=(PrimaryAssetType="<TypeName>", Directories=((Path="<PathName>")))
that is read separately after parsing PrimaryAssetTypesToScan and adds the directories on.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
What property of the Slider is the image used when dragging?
What properties of the progress bar can be used for drag and drop highlighting?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-178303 in the post.
4 |
Component | UE - Foundation - Core - Cooker |
---|---|
Affects Versions | 4.23, 5.3 |
Target Fix | 5.6 |
Created | Feb 23, 2023 |
---|---|
Updated | Oct 18, 2024 |