View Issue Details

IDProjectCategoryView StatusLast Update
0001951NoesisGUIUnrealpublic2022-03-02 12:31
ReporterTadinu Assigned Tohcpizzi  
Status resolvedResolutionfixed 
Product Version3.0.11 
Target Version3.1.3Fixed in Version3.1.3 
Summary0001951: XAML assets not recognized as placed in Plugin's Content
DescriptionIn various places of NoesisGUI plugin sources, `/Game/` prefix is hardcoded, meaning the asset is presumed to reside under the Content folder of Project, however it does not work for ones in Plugin's Contents, notably these ones:

(1) I would recommend the argument being passed into `LoadXAML()` function be just the xaml asset name, and by using AssetRegistry, a `FAssetData` could be fetched based on that name as the key. Then that `FAssetData` could be converted to `UObject*`, in our case as `UNoesisXaml*` as noted here:*

That operation actually also invokes `LoadObject()` under the hood.

That way, we would not have to preprocess the path with `/Game/`, regardless of where the asset resides, either in Project's Content or Plugin's Content folder.
Besides, it would be great if you could make the loading asynchronous as recommended here in case we have numerous xaml asset widgets:

(2) Otherwise, it looks like in here:
We could pass the UE asset path as it is directly like these:
Noesis::GUI::LoadComponent(Component, TCHARToNsString(*(GetPackage()->GetPathName())).Str());

If so, that path could be forwarded to FNoesisXamlProvider::LoadXaml() and fed well to `LoadObject`, without having to use AssetRegistry I guess.
TagsNo tags attached.


duplicate of 0001961 resolvedhcpizzi Font not found in Linux UE4 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-03-26 15:29 Tadinu New Issue
2021-03-26 15:29 Tadinu Status new => assigned
2021-03-26 15:29 Tadinu Assigned To => hcpizzi
2021-03-26 15:36 jsantos Target Version => 3.0.12
2021-03-28 08:50 Tadinu Description Updated
2021-03-31 05:18 Tadinu Description Updated
2021-03-31 05:19 Tadinu Description Updated
2021-04-19 12:15 sfernandez Target Version 3.0.12 =>
2021-04-19 12:16 sfernandez Relationship added duplicate of 0001961
2022-03-02 12:31 sfernandez Status assigned => resolved
2022-03-02 12:31 sfernandez Resolution open => fixed
2022-03-02 12:31 sfernandez Fixed in Version => 3.1.3
2022-03-02 12:31 sfernandez Target Version => 3.1.3