What are Data Assets in Unreal Engine 5
Вставка
- Опубліковано 10 лют 2025
- #coding #programming #unrealengine5 #ue5 #html #css #ascentcombatframework #gamedev
Support me on Patreon: / codewithro
Join my Discord Server: / discord
Donations: ko-fi.com/code...
Low Poly Synty Assets: syntystore.com...
Wow you've been gaining new subs like wildfire... congrats bro!
Im loving it! Thank you so much! 🥹
You got a new follower! 🎉
Thank youu! 🥹
you are the best youtuber :)
Thank you for your kind words 🥹
Thanks for the explanation.
Should data assets also be loaded using soft references?
Preferably yes 🙌 hard references will stay in memory, but many popular games that have succeeded didnt focus so much on optimization and focused more on completion!
@@CodeWithRo
Thanks for the reply.
I was thinking of implementing data assets in my conversation system.
Materials, metasounds, textures, etc. etc. I have a soft reference and will try to adjust it so that it can be used with data assets.
Thank you for the explanation!
Quick question: How would you implement custom attributes (like levels and elemental damage) E.g. for a weapon item without making a separate data asset for each scenario?
For those id recommend a Data Table! Have a new video up about it 🥳
In DataAssets you can't iterate through all SecondaryAssets, but in tables you can iterate through all rows and all parameters. If I'm wrong, then explain to me how I can iterate through all assets from PRIMERYDataAsset?
You’re correct that iterating through rows in a DataTable is straightforward in Unreal Engine 5. However, with PrimaryDataAssets and SecondaryDataAssets, iteration is less direct because DataAssets are often used as individual, self-contained objects rather than as collections like DataTables.
@@CodeWithRo Are Data Assets the best solution for stats by race, stats by level, job classes etc. Or is a Data Table more efficient? What are the pros and cons of each in your opinion.
can u go more in to add random attributes in the Data Assets sorry noob here ps tk u @CodeWithRo
You can really add whatever you'd like in the data asset 👍
@@CodeWithRo how will i go about doing the random/rng for attributes/ stat? sorry noob here
VERY COMPLICATE EXPLANATION