When it scans for Parent it will also find the Child assets, becuase the class is "this or any subclasses". Primary assets cannot be registered to two types at the same time, so whichever type scans first generally wins. This is not a supported case, if you want to do this you need to put them in separate directories.
Any child class of UDataAsset (parent) will properly be picked up when the Asset Manager's Asset Base Class" field is set to the appropriate class. However a grandchild class (Child) with the same setup is not picked up.
Note:
This also occurs if Parent is a built in class. For example, PrimaryDataAsset shows up as expected by default, but a child of PrimaryDataAsset does not.
Regression:
No - Same behavior occurs in 4.16.3 (CL 3561208)
Result:
Type summary shows Count as 2 for Parent (expected since Child is a subclass) But child Count shows as 0. (See screenshot)
Expected:
Child count shows as 1 for the Child data asset.
Head over to the existing Questions & Answers thread and let us know what's up.
4 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.16.3, 4.17.1, 4.19 |
Created | Sep 19, 2017 |
---|---|
Resolved | Sep 20, 2017 |
Updated | Apr 27, 2018 |