Learn Unity DOTS! (FREE Tutorial Course)

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 262

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  2 місяці тому +11

    🌍 Download the FREE Project Files unitycodemonkey.com/dotsfreecourse.php
    ✅ Get the COMPLETE DOTS RTS Course! cmonkey.co/dotscourse
    💬 Learn how to get MASSIVE PERFORMANCE to build any game you can imagine! Write code that runs 260x FASTER!
    🔴 RELATED VIDEOS 🔴
    Learn C# Beginner to Advanced FREE Tutorial Course! [12 HOURS] ua-cam.com/video/qZpMX8Re_2Q/v-deo.html
    Take your Skills to the NEXT LEVEL by making a Turn-Based Strategy game! (Unity Complete Course) ua-cam.com/video/QDr_pjzedv0/v-deo.html
    Learn Unity Beginner/Intermediate 2024 (FREE COMPLETE Course - Unity Tutorial) ua-cam.com/video/AmGSEH7QcDg/v-deo.html
    Ultimate Unity Overview (70+ Tools and Features Explained!) ua-cam.com/video/Wzj4OeqiwAo/v-deo.html
    EXTREME PERFORMANCE with Unity DOTS! (ECS, Job System, Burst, Hybrid Game Objects) ua-cam.com/video/4ZYn9sR3btg/v-deo.html

  • @xeldo_o
    @xeldo_o 2 місяці тому +124

    For FREE?? U don't know how much we value these courses brother

    • @The123Adrian
      @The123Adrian 2 місяці тому +3

      He know

    • @khurum
      @khurum 2 місяці тому +1

      but not complete, it makes sense of course it must be some really tough work

  • @vp3275
    @vp3275 2 місяці тому +40

    One hour ago I type "ECS tutorial" and nothing recent pops up
    I go take a shower, come back and my wish has been fulfilled, amazing

  • @BlueDuck-vv3eu
    @BlueDuck-vv3eu 2 місяці тому +33

    You are so very generous to the aspiring gamedev community. We appreciate it!

  • @TheMightyKawama
    @TheMightyKawama 2 місяці тому +12

    The thing that genuinely amazes me about you is your consistency to your beliefs, that education is important for everyone that you'd even go as far to release these courses in full here on your channel. If nothing more than inspiration for game development and learning coding - you're an inspiration on how to stay true to what you believe in. Thank you :)

  • @LoneLuminaryDev
    @LoneLuminaryDev 2 місяці тому +9

    I just wanted to say thank you for helping people like me who can’t afford paid courses. I’ve been learning game dev for three years and learned so much from you. Your effort means a lot!
    I also try to share your content with others as much as I can because I think it’s really helpful. Thanks again for everything!

  • @MarcBomber
    @MarcBomber Місяць тому +5

    So much value ♥

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

      Learned a lot and cannot wait for the IJob update.

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

      Many thanks for the super thanks! I'm glad you learned a lot! Thanks!

  • @w1-w2-w3
    @w1-w2-w3 2 місяці тому +7

    I just finish watching your previous 1hr 27min DOTS video. Now you just upload the new one. Thank you so much, sir. Thank you. 🙏🙏🙏

  • @upprrdimensions892
    @upprrdimensions892 2 місяці тому +7

    I am so happy for your channel's growth

  • @sebandres
    @sebandres 2 місяці тому +5

    Such a no brainer to get your full course! Keen up the good work and giving back to the community!

  • @StratoChigo
    @StratoChigo 2 місяці тому +4

    Yes! I was waiting for this! Thank you Hugo, you're the best!

  • @mattn5933
    @mattn5933 2 місяці тому +4

    Hurray! Thank you so much for making these free tutorials

  • @GameAlchemistLeo
    @GameAlchemistLeo 2 місяці тому +4

    Thanks a lot!! I was waiting for it

  • @All_About_Portfolio
    @All_About_Portfolio 2 місяці тому +2

    Finallllyyyyy its releaseee.... i was waiting for this for a looooooonnnnggg timeeeee!!! Thank u Hugo!

  • @JPMcBoyfriendFace
    @JPMcBoyfriendFace 12 днів тому

    Great tutorial. You're doing such a massive service for the community. Thank you from the cockles of my heart!
    Something to note for intermediate users that thought they might be saving time near the beginning of the tutorial by adding a 3d Cube or something to the parent Unit Object - it will automatically add a Collider Component to your object and this will make the UnitMoverSystem not move your child object. Just beware. You'll lose time if you don't follow closely.

  • @JustATortoise
    @JustATortoise 2 місяці тому +3

    Thank you for these types of free courses. I was waiting for one for DOTS, so this is a blessing.

  • @rootbindev
    @rootbindev 2 місяці тому +1

    Tack!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 місяці тому

      Many thanks for the super thanks! I hope you learn a lot!

  • @leftyfourguns
    @leftyfourguns 11 днів тому +1

    What an absolutely amazing series and an incredible gesture offering it for free. Probably the most comprehensive guide on DOTS there is but also incredible informative for learning Unity in general.
    In regards to the DOTS animation, Unity has announced the currently in development animation system will be built on ECS and all runtime code will be burst compatible. So the possibilities will be even greater in the near future.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 днів тому

      I'm glad you enjoyed it thanks!
      Yup I'm definitely looking forward to Unity 7 and all the awesome DOTS-based tools they're working on!

  • @masterneme
    @masterneme 2 місяці тому +19

    Thanks, you're the best!

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

    2:00:41 You are so good at teaching these core features and how it all works, thank you so much for this course! I always have difficulty sticking purely to documentation without an example project to show systems intertwining or working together, so this has helped me so much to understand how it works so far!

  • @mahanthkanaparthi6087
    @mahanthkanaparthi6087 2 місяці тому

    Maximum all of the basic functionalities we use in monobehaviour approach are covered in this ECS DOTS approach including physics. I have searched a lot for a DOTS practical tutorial. All are outdated and not with detailed explanation like this. You are a savior to us working on Unity 3D projects. By the way I love your voice. Your voice is an asset for this channel.

  • @gunnarherbert9778
    @gunnarherbert9778 2 місяці тому +3

    Thank you so much for this free course! Hopefully the algorithm will understand its value!

  • @CIeverAI
    @CIeverAI 2 місяці тому +5

    Thank you very much for this detailed free DOTS course!
    It's been a while since I used DOTS in 2021 for my free universe simulation A Hole In Space, so I am eager to see how it has improved since then.
    Moreover, I will try to create with the new DOTS a more performant vegetation system than the standard Unity terrain one. Let's see, if this is possible.
    I will post my results on the Unity Forum later then.
    EDIT: Holy guacamole is it fast! I just did a simple test run with 20.000 trees with about 80 million vertices. First as terrain, the CPU takes about 25 ms to render. Second as GameObjects (GPU instancing on, static batching off, otherwise the GPU and RAM went full), the CPU takes about 20 ms to render. Lastly, just converting them to entities by putting the tree GameObjects into the DOTS Subscene, the CPU takes about 5,7 ms to render, about 4x faster! Unfortunately, I had to switch the material to the standard HDRP one for this test, as the custom shader does not render as an entity and the Editor is not happy about so much objects, especially when you edit the prefab and it needs to update all its instances in the entity subscene, the RAM usage goes through the roof. But, that looks definitely promising.

  • @mehmedcavas3069
    @mehmedcavas3069 2 місяці тому +3

    this will be an awesome weekend :D

  • @mikhailhumphries
    @mikhailhumphries 2 місяці тому +4

    Can't wait to go through this

  • @SOEP6969
    @SOEP6969 29 днів тому +2

    Best free course ever, Thank you.

  • @ratel-ratel
    @ratel-ratel 2 місяці тому +2

    Epic! Thank you for your amazing work!

  • @jakubwawrzynczak774
    @jakubwawrzynczak774 2 місяці тому +4

    I just finished watching your previous tutorials and you just upload next 7 hours tutorial

  • @yurybatsyuro8293
    @yurybatsyuro8293 2 місяці тому +3

    Good plan for the weekend!

  • @hinterlandr8638
    @hinterlandr8638 2 місяці тому +1

    Your work here secures your place as a community leader. Thank you.

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

    This guy is an actual treasure. Easily the best game dev channel / teacher out there!

  • @whitefox2k
    @whitefox2k 2 місяці тому +16

    This codemonkey is the real wukong 🙌

  • @EnvArtistRupesh
    @EnvArtistRupesh 2 місяці тому +2

    Wow that’s amazing! 7 hours of content for free??? Thank you so much code monkey 🥺❤️

  • @L_Hagen
    @L_Hagen 15 днів тому +1

    Thank you so much for this tutorial. i was ready to give up on learning how to do multiplayer in unity then i found this :D so now im learning DOTS/ECS fundamentals to move on to Netcode for Entities, all thanks to you.
    (Edit) you did spot that edgecase at @4:53 - so nvm the rest of comment :D
    i did discover an edgecase around 4hrs 20min (nice!) where if you box select N units, then box select again, including previously selected units. it will trigger OnDeselected after OnSelected, and disable visuals (SelectedVisualSystem.cs "if onDeselected (line 17)) fix: move if OnDeselected before "if OnSelected" and OnSelected will have precedence over deselect, so the unit remains selected when its re-selected (units did remain selected (component enabled) but the visuals were deselected)

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  13 днів тому

      heh yup that edge case took me a while to notice, sneaky!
      I hope you're learning a lot!

  • @NotAZocker
    @NotAZocker 2 місяці тому

    Only 2 hours into the course and it's just as amazing as your free Unity Course. I love your ideology of free teaching materials for everybody and you're definitely one of the best creators for Unity out there. Keep up the great work and I'm looking forward to what the future has to offer for you, hopefully only good things. Greetings from Germany

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

    I was learning ECS for one week from random tutorials, totally confused. I made a small project, but any change takes me hours. Now I have new hope-it's you, Code Monkey! Thank you :)

  • @lamhoang-vt2ih
    @lamhoang-vt2ih 2 місяці тому +1

    Thank you so much, I have been waiting for this for a long time!♥♥♥♥

  • @Pedroxqr
    @Pedroxqr 2 місяці тому +3

    you are awesome man
    really special thanks for free courses❤❤❤

  • @VivekRGTech
    @VivekRGTech 23 години тому

    Thanks, This helps to identify where I could use DOTS to improve the performance in my game which is in production.

  • @kostariev_vadim
    @kostariev_vadim 2 місяці тому +3

    Thank you and thank you again for continuing to bring knowledge to the masses for free!!!❤🎉❤🎉

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

    Bro, thank you so much for this amazing tutorial. I really like the way you teach by focusing on real features, bugs, and problems. I've watched many tutorials about ECS, and I can confidently say that this was the best one. Thank you for making this tutorial free; it’s a truly great contribution to the community.

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

    you have no idea how odd to see you make this right as i needed it, i was just getting in DOTs and searching for new tutorials and the newest was about 6 month or more and DOTs changed a punch since then, then after 1 day i find you making this video and I'm shocked ^_^.
    Thank you.

  • @PrzygodazUnity
    @PrzygodazUnity 2 місяці тому +2

    Just bought your tutorial and joined discord ! :D
    Thans for the good job

  • @sebandres
    @sebandres 2 місяці тому +1

    Hey Hugo, looking at your paid course, one thing that I think people would really benefit from is a module on Unit testing. I found it super valuable to cover at least my more complex logic with unit tests so that it doesn't break when refactoring or improving. I couldn't see any module that was focused on that (although I haven't finished yet the whole thing so apologies if it is covered inside another module!)

  • @pedropc5824
    @pedropc5824 2 місяці тому +1

    The man is unstoppable👏👏

  • @Digildon
    @Digildon 2 місяці тому +2

    Thank you, right on time

  • @alec_almartson
    @alec_almartson 2 місяці тому +1

    I'm really really surprised. ❤
    Thank You Code Monkey for democratizing this knowledge.

  • @MochiRosu
    @MochiRosu 2 місяці тому +1

    Code Monkey You absolute legend. Thank you for this.

  • @therealrevelen
    @therealrevelen 2 місяці тому

    Thank you so much Hugo. Did the whole thing and learned a ton about DOTS syntax and usage. Doing great work for the Gamedev community!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 місяці тому

      Nice! Congrats on completing the course! I'm glad you learned a lot!

  • @xXNickPXx
    @xXNickPXx 13 днів тому

    Thank you for posting this! Got through the whole thing.

  • @dreamisover9813
    @dreamisover9813 2 місяці тому

    Amazing! Your older videos way back when dots was quite new were really helpful as well

  • @Adam-qq9zk
    @Adam-qq9zk Місяць тому

    Thank you so much! This is an excellent lesson on the game, exactly what I’ve been hoping for. Your lesson covers almost everything I wanted to know.

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

      I'm glad you're learning a lot! Best of luck with your games!

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

    2:45:47 we can switch from timeline view to hierarchy view , there just type "mover" and it will filter it out and once selected switch back to timeline view to find it easily

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

      i find hierarchy view a bit easier 😅

  • @ThynkTekStudio
    @ThynkTekStudio 2 місяці тому

    dude's creating an awesome Course for a fair price,
    dude decides to get even more awesome by offering a huge portion of the course for free on
    UA-cam
    A Legend

  • @CSPlayerDamon
    @CSPlayerDamon 2 місяці тому

    Awesome! Thanks a lot mate, I needed a tutorial on this to avoid reading the docs and most importantly trying and failing :P

  • @N7sensei
    @N7sensei 25 днів тому

    Code Monkey is the hero we do not deserve.

  • @marveII0us
    @marveII0us 2 місяці тому

    Thanks a lot Hugo! Your effort into making this (and many other courses) is insane, and that too giving the courses to us for free is incredible.
    I'm going to like, comment and share with multiple accounts of mine to try and help with the algo
    (Though its much more complex than that with retention, ctr etc...)

  • @هاشماكرمعيادي
    @هاشماكرمعيادي 2 місяці тому +1

    Fainally the vedio which I have wited so long from the goat

  • @mikithekynd
    @mikithekynd 2 місяці тому +2

    it's here!

  • @LiamKarlMitchell
    @LiamKarlMitchell 2 місяці тому +1

    Well good thing I did not have any plans this weekend other than trying to learn the dots haha. Thanks !

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

    great tutorial man, so much attention to detail. wonderful

  • @TheCookingPixel
    @TheCookingPixel 2 місяці тому

    Thanks for this course, DOTS is a complex subject, but you are teaching it throughout making a complete game, thanks.

  • @sannanch7564
    @sannanch7564 2 місяці тому +2

    Thanks alot code monkey..... brother i can't thank you enough so greatful to have you as my mentor
    Again thanks

  • @NeoNthriller
    @NeoNthriller 2 місяці тому

    Thanks can't wait to watch in full

  • @yeeeetsssusdelets
    @yeeeetsssusdelets 2 місяці тому

    hope the rest will be uploaded too :D either way thanks for this huge video, went through everything and helped me a lot

  • @mohamadbakr6474
    @mohamadbakr6474 2 місяці тому +3

    Thanks very much

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

    Just wow, releasing this for free is unbelievable.

  • @Wonder_Verse_Tech
    @Wonder_Verse_Tech 2 місяці тому +1

    Finally My Dream Tutorial Came 🎉♥️🗿Thank you so much Code Monkey

  • @gamedebix
    @gamedebix 2 місяці тому +1

    Hey code monkey you are a true boon to game industry ❤️

  • @aL3891_
    @aL3891_ 2 місяці тому

    Bruh you released the whole thing for free? Legend..

  • @Suhail-d9r
    @Suhail-d9r 2 місяці тому

    This course looks like an absolute blast. Can't wait to get into it.
    The one thing I'd love to know about is skins. Eg if I want to have the option of my soldiers wearing a red beret or a blue beret, or change the hat to a traffic cone, how would one make those changes?

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

    WTF 1 MONTH AGO? 7 HOURS FREE COURSE? bro... idk if the course will be good or not but, that's a lot of work. You are amazing...

  • @lawowthebigboss9607
    @lawowthebigboss9607 2 місяці тому +1

    Code Monkey is the best teacher

  • @AndromedaTV
    @AndromedaTV 2 місяці тому

    appreciate, I'm 32 years old. I have no point what i want to do.
    now i just begin learn c#.
    Thanks for sharing this.

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

    The way you have to be specific with queries to get the entities you want reminds me a bit of SQL.

  • @trantuananh421
    @trantuananh421 2 місяці тому

    Appreciate your contribution so much!

  • @danixadem
    @danixadem 2 місяці тому

    That's awesome !! THANKS A LOT !!!

  • @greenheart5334
    @greenheart5334 2 місяці тому

    Glad Unity is on good way again btw. I don't use it but some of my fav games run on it.
    When we at it, I make roguelike, initial version is already on NG and Itch. I will do my best.

  • @duztine
    @duztine 2 місяці тому

    Thanks a lot, you're a legend

  • @vincentlim8364
    @vincentlim8364 2 місяці тому

    Wonderful course!

  • @Taher_M
    @Taher_M 2 місяці тому +1

    Thank you so much sir

  • @Veles017
    @Veles017 2 місяці тому

    It's amazing!!! Thank you!!

  • @sokoku5569
    @sokoku5569 2 місяці тому

    Thank you for making so many soooooo good free Courses and on top of that even more good videos with nice topics (also GameDev Report is so nice Thank you for that too)
    i sometime think writing stuff like that dosn´t matter but this time i am just too grateful not to write something.
    Thank you! ❤

  • @yusencaballero3368
    @yusencaballero3368 14 днів тому

    Hello Hugo! Thanks for the amazing tutorials. Is there any plans for adding a save/load system into this course?

  • @jihadrouani5525
    @jihadrouani5525 2 місяці тому

    Thanks for this super useful video, commenting for the algorithm 📈📈

  • @jagdishsahu3935
    @jagdishsahu3935 2 місяці тому

    Thank you so much!!! 🙏

  • @季捷-d2j
    @季捷-d2j Місяць тому

    I can't believe this is a free course, that's crazy my friend! Will you be bringing the full course to udemy?

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

      I hope you learn a lot!
      Sadly Udemy has some very restrictive rules that prevent me from putting my courses on there.
      Now I'm trying to make sure all my courses have a substantial free version of some sort. For example my C# course has the video lectures completely free, the premium version has a bunch of extra bonuses. For the DOTS course there's a free sample with the first third of the course, on Udemy that is not allowed. You cannot have a paid course that has a free version available that is more than 2 hours long.
      Udemy also has very strict pricing rules, all courses must be $20 which makes it impossible to do more niche courses like the DOTS course.
      And Udemy has a pretty terrible deal for course creators where if someone buys a course without being through my direct link I only keep about 20%. Meaning when someone buys one of my courses on Udemy for $20 I end up keeping just $1 to $4.

    • @季捷-d2j
      @季捷-d2j Місяць тому

      @@CodeMonkeyUnity Oh my god, it's so bad, I'm on your side my friend!
      Another question, Unity has just announced in its roadmap that it will implement ECS for all in the next generation, will this bring huge changes for dots?

  • @steviebmgo1966
    @steviebmgo1966 20 годин тому

    Hi, Im very glad that you made this free, but how do we do the animation, can we use normal unity events?

  • @tama903
    @tama903 27 днів тому

    What determines what data should be put into IComponentData structs vs ISystem structs? For example, around 1:52:00, you're adding moveDirection and targetPosition to the UnitMoverSystem, and I was wondering why those could be added directly, while moveSpeed and localTransform had to be queried

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

      Those are just local variables, there's no data being stored in the system itself. Technically you could store those in a component as well but that would be a waste since it's recalculated every time, no need to store anything.

  • @mohamadbakr6474
    @mohamadbakr6474 2 місяці тому +1

    Thanks for you efforts. A question is there going to be another course for netcode for entities. Since I cannot find much resources.
    And if you are going to make one, is it going to be any time soon?
    Thanks

  • @lcd11001
    @lcd11001 2 місяці тому

    Thank you so much🎉❤

  • @Void-vn2vf
    @Void-vn2vf 2 місяці тому

    Thanks !

  • @canerkaska8355
    @canerkaska8355 2 місяці тому

    Great job as always Hugo! However, I have a question to ask. I'm fairly new at game dev and have barely learned the basics on the GO-oriented side (mostly thanks to your videos). What I wonder is, is it a little bit too early to learn DOTS? I mean not for me, in general assuming there'll be a lot of changes and most things you show/teach in the video will be obsolete.

  • @AhmetBurakAkay
    @AhmetBurakAkay 27 днів тому

    Thank you.

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

    I'm not sure if you do fix this. However, if you single select a unit without the selected component such as the zombie, it will throw an argument exception. BTW, your courses are the best I have ever followed 👍.
    Edit: Never mind, it got fixed, nice.

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

      Yup fixed st some point, I hope you're learning a lot!

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

      Quick question, why do you sometimes use SystemAPI.GetComponent, and other times use SystemAPI.GetComponentRW? my understanding is reference vs value

  • @Magma-uw7yo
    @Magma-uw7yo Місяць тому

    I'm not a complete beginner but honnestly for me I do games for fun to play with my friends and it took me already a lot of time to understand the logic to have for making a game. It's very interesting but I don't think I will change my process because it mean to add a new kind of logics on my brain and that's too hard for the games I make.
    I keep watching and maye for one project I'll use that just to try

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

      Yup keep DOTS as just another tool in your toolbelt, use it for specific use cases (like pathfinding, complex AI) and keep Game Objects for the rest.

  • @TheKr0ckeR
    @TheKr0ckeR День тому

    Great tutorial as always! Are there any performance disadvantages of DOTS in mobile game development? Since its stack based, i wonder if it suits also to mobile since PC and mobile are different devices with different hardwares. Do you think its also possible for mobile to have massive entities?

  • @theashbot4097
    @theashbot4097 2 місяці тому

    This is awesome! I have YT premium, and I am watching the video at .25x speed, and the speeding it up to 15x speed using a web browser extension. I hope this helps with the algorithm. I also have YT premium, and I downloaded the video, and try to brake the algorithm in that way too. : D Thank you for making this free! I will buy the paid one soon!

  • @DarshanRanpariya
    @DarshanRanpariya 2 місяці тому

    First of all, Thank you very much for the tutorial a huge appreciation.
    I just wanted to ask you to set that runtime mode in entity settings that moves the sphere in scene view but it's collider does not move. Time Stamp 1:12:30
    Can you explain that?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 місяці тому +1

      Yup that's just the visual of the Gizmo, it stays showing the authoring state even if you set it to runtime mode. I don't know if they consider it a bug or working as intended, but the collider itself is moving, it's just not visible in the gizmo

  • @p.zgamedeveloper
    @p.zgamedeveloper 2 місяці тому

    thank you so much ❤❤^_^