I’m trying to make an Editor Utility function that initializes folders and assets that are necessary for modding a map into a game I’m modding.
It was easy to make directories but after a full day of searching, I couldn’t find a way to create assets from a Blueprint.
Now I’m wondering is this even possible to create assets and save them in Content with Editor Utility / Blueprint? or maybe it would be possible in python?
You can with the Create Asset node. You need to create the correct factory which you can not do with construct object node. I instead use a free plugin to do that (Lowe Entry Extended Standard Library).
Thank you!
Testing in UE5… I found that the ‘Create Asset’ node works fine. however, the ‘Create Asset with Dialog’ node crashes for me when the dialog is closed.
Also ‘Create Asset’ node works with the Factory unconnected. I wonder what is it for, and how to make one ‘Factory’ for a custom BP class?
I know this was a couple years ago, but has the pipeline changed? Because I can’t figure this out why I can’t create a data asset using this method. The cast here always fails.
I guess there is sort of a hacky way to do it, but I’m not enjoying this. Because apparently duplicating assets works, but creating an asset on the other hand, why is it so difficult?
Well thank you for responding even years after. I seriously do appreciate it. I did end up figuring this out, but it was hacky. I am curious as to what tutorials you’ve found though, because I have been doing a lot of searching myself on Utility Widget Asset Creation and all I found was hopping into C++ and Python to do it. I’ve even came across a video where a guy was able to make a level sequence in his utility widget but even he said he doesn’t know why it doesn’t work for literally any other asset as he shows an example of it not working for creating a new material. https://youtu.be/1iR8OAUf9bc?si=ZL2kS1IaooRdnCIj