I saw this in the v29.30 updates:
“You can now expose UMG widget assets to your Verse code. Then you can use your widget with Verse APIs to add it to a player’s UI, similar to how you previously worked with widgets that were defined all in Verse.”
I currently don’t see my Widget Blueprints in “Assets.digest.verse”. Even with it not showing there I tried accessing it in Verse through “FolderName.FileName” and it didn’t recognize the folder. I tried creating a new one in case it was bugged on older version assets and didn’t see it stil. I also do not see any options to expose it with a selection and I can’t find any documentation.
I know this is a day old, but I’m curious if any can give me some quick pointers as to what I am missing.
I’m assuming “UMG assets exported to asset.digest” is the automatic process that the engine does like with Textures, unless there is something I’m not understanding. I still just see Meshes and Textures showing up there. Is this coming in a future update and not a hotfix? Or am I misunderstanding all the things @Amanda.Schade haha?
Has anyone figured it out? Do I need to manually export the UMG widget to the assets folder or is it automatically done? Btw I created my project before they rolled out this new update.
You can access the widgets shown in Assets by including using {HUD} at the top of the file where you need to access that asset.
However, I haven’t yet figured out how to access the text blocks within a widget directly. As a workaround, I’m planning to convert the widget to a canvas first, and then access the child widgets, such as text blocks.
I’m not sure we’ll be able to bind to our UMG widgets and edit them through verse yet, but if we can even have access to the UMG widget assets we create, this is a huge plus thanks for sharing!
But when I try to access it in my code, it seems to show up as some sort of tuple and not a widget. I tried casting it to a widget and then tried adding it to my UI without doing anything, but neither worked. I also tried accessing elements of the tuple, but that didn’t result in anything either. (there should be error squiggly lines everywhere but that also got bugged. Errors are shown at the bottom.)
I changed the thread title to reflect the issue developments.
Hey @davidpkami , if you open a verse file in VSCode from your UEFN session, it will be shown in the explorer section on the left-hand side under all of your verse files. It is auto-generated, so it’s not something you change, but it shows what assets are available for you to reference in your Verse files.