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...

КОМЕНТАРІ • 18

  • @surfinjoka
    @surfinjoka 6 місяців тому +4

    Wow you've been gaining new subs like wildfire... congrats bro!

    • @CodeWithRo
      @CodeWithRo  6 місяців тому

      Im loving it! Thank you so much! 🥹

  • @diliupg
    @diliupg 6 місяців тому +1

    You got a new follower! 🎉

  • @Vanessacooksxo
    @Vanessacooksxo 6 місяців тому

    you are the best youtuber :)

    • @CodeWithRo
      @CodeWithRo  6 місяців тому

      Thank you for your kind words 🥹

  • @yorisongs9804
    @yorisongs9804 Місяць тому +1

    Thanks for the explanation.
    Should data assets also be loaded using soft references?

    • @CodeWithRo
      @CodeWithRo  Місяць тому +1

      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!

    • @yorisongs9804
      @yorisongs9804 Місяць тому

      @@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.

  • @JuffeGuffe
    @JuffeGuffe 6 місяців тому

    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?

    • @CodeWithRo
      @CodeWithRo  6 місяців тому +1

      For those id recommend a Data Table! Have a new video up about it 🥳

  • @pulsar7016
    @pulsar7016 5 місяців тому +1

    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?

    • @CodeWithRo
      @CodeWithRo  5 місяців тому

      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.

    • @bryanwiitala8854
      @bryanwiitala8854 26 днів тому

      @@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.

  • @1AnimeFinder
    @1AnimeFinder 6 місяців тому +1

    can u go more in to add random attributes in the Data Assets sorry noob here ps tk u ​ @CodeWithRo

    • @CodeWithRo
      @CodeWithRo  6 місяців тому +1

      You can really add whatever you'd like in the data asset 👍

    • @1AnimeFinder
      @1AnimeFinder 6 місяців тому

      @@CodeWithRo how will i go about doing the random/rng for attributes/ stat? sorry noob here

  • @badrelouariti5967
    @badrelouariti5967 16 днів тому

    VERY COMPLICATE EXPLANATION