Unity ECS For Beginners (DOTS)
18:52
Пікірлер
@novac1
@novac1 12 сағат бұрын
This can run on a raspberry pi?
@1_8t
@1_8t 7 күн бұрын
How can I connect from other devices?
@gazigame-gg2sb
@gazigame-gg2sb 21 күн бұрын
my aiming animatons broked can you help?
@CleeeeeLeee
@CleeeeeLeee 22 күн бұрын
Random question, but how hard would it be to convert this project into single player? Would I be able to just remove the server related code? I just want to make a city builder type game and I don't need the attack other bases thing.
@developershub_org
@developershub_org 21 күн бұрын
Shouldn't be that hard if you know your way around Unity and C#, but personally I'd prefer starting a new project and copy the parts that I need from an existing project rather than cloning an existing project and removing the part I don't need.
@gazigame-gg2sb
@gazigame-gg2sb 22 күн бұрын
guys if you are getting The type or namespace name 'RigBuilder' could not be found error you must add using StarterAssets; using UnityEngine.Animations.Rigging; to the first line of code have a great day
@LimitedInput
@LimitedInput 25 күн бұрын
Amazing
@gazigame-gg2sb
@gazigame-gg2sb 25 күн бұрын
guys if you getting the The type or namespace name 'ThirdPersonController' could not be found error just add ReloadStateMachine code first line using StarterAssets; the bros visual studio making it automaticly i think.
@scoobyprohacker
@scoobyprohacker 25 күн бұрын
Assets\Scripts\Character.cs(261,76): error CS0246: The type or namespace name 'ThirdPersonController' could not be found (are you missing a using directive or an assembly reference?) idk why i am getting this error
@gazigame-gg2sb
@gazigame-gg2sb 22 күн бұрын
add this to first line of the code using StarterAssets; using UnityEngine.Animations.Rigging; the problem must be solved.Have a good day
@andrewniro1836
@andrewniro1836 26 күн бұрын
I am getting "Server Started" and when I run the client I don't have any messages about "successful connection" Any idea why? I tried downloading a later repository version, Server 1.01 and 1.03 but its the same result
@scoobyprohacker
@scoobyprohacker 26 күн бұрын
Sir i cannot switch weapon idk why??
@developershub_org
@developershub_org 26 күн бұрын
I'm not sure, maybe you missed something. You can use this source code to find the problem: drive.google.com/file/d/14ksS7wBOzT8_xvWxordw6rMnQfAXzxVV/view
@scoobyprohacker
@scoobyprohacker 26 күн бұрын
@@developershub_org Thanks Sir You Replied to me and gave me the source code I am really thankful and I like your tutorial and subbed you
@scoobyprohacker
@scoobyprohacker 26 күн бұрын
@@developershub_org Sir Sorry To say but this one is the netcode files but I require the project codes for the switching weapon so please bother that
@HistoryHHT1
@HistoryHHT1 29 күн бұрын
When i open the Terminal.cs, it is not the same as you have. For example i don’t have the connection sections etc
@developershub_org
@developershub_org 29 күн бұрын
There has been a lot of chnges since then on the repository. Try downloading old version 1.01
@HistoryHHT1
@HistoryHHT1 29 күн бұрын
@@developershub_org thank you i appreciate your response🙏
@SuperAltair96
@SuperAltair96 Ай бұрын
Man, I may be a complete idiot, Im following the tutorial, at 0.5 the speed, double checking every single line of code 3 times, and still, my character is clipping half way to the ground on every action, Ill kms
@developershub_org
@developershub_org Ай бұрын
I don't think that is a problem in the code. That might be caused by how you setup your character game object. I can't say anything for sure until I see the project. If you want, you can export the project in a unity package and send it to me in Discord. Exclude any unrelated asset in the exported file.
@gazigame-gg2sb
@gazigame-gg2sb 26 күн бұрын
bro i fixed issue let me explain.
@gazigame-gg2sb
@gazigame-gg2sb 26 күн бұрын
you must make the animation thing all of your animations it fixes issue 3:00 to 3:33 and downlaod mixamo animatons in place.
@gazigame-gg2sb
@gazigame-gg2sb 26 күн бұрын
if it not fixes
@Spaaace
@Spaaace Ай бұрын
10/10 would cubeJub again
@tailzz17
@tailzz17 Ай бұрын
@Developers Hub This version is focused on using 2d stuff? if i want to use 3d assets I should go back to video #36 and get the source code there or?
@developershub_org
@developershub_org Ай бұрын
Yes, you should go to the point where the project was still 3D.
@mindurownbussines
@mindurownbussines Ай бұрын
Unity ECS API and its ingredients are the most verbose software ever created
@timothylockett7201
@timothylockett7201 Ай бұрын
Hello can you make a video of making a game like this in ue5
@rob3rtsayshi
@rob3rtsayshi Ай бұрын
Yes! Subscribing for more ECS!
@dnisserrano5382
@dnisserrano5382 Ай бұрын
My aiming animations don´t work. Can you help me?
@pvss697
@pvss697 Ай бұрын
same here
@gazigame-gg2sb
@gazigame-gg2sb 22 күн бұрын
control your second layer animations has exit times in the previous video
@gazigame-gg2sb
@gazigame-gg2sb 21 күн бұрын
me too bro i realized it when i complete all the tutorial
@gazigame-gg2sb
@gazigame-gg2sb 21 күн бұрын
can you solved it.i cant find
@dnisserrano5382
@dnisserrano5382 21 күн бұрын
@@gazigame-gg2sb No I didn´t solved.😢
Ай бұрын
Is using UnityEngine.Random ok inside a System?
@Bushido_Cat
@Bushido_Cat Ай бұрын
how to use physics to control a character using ECS?
@SubatomicGames
@SubatomicGames Ай бұрын
You are doing great brother! I'll subscrib and support! Keep Going!!!
@micolarsjustinmiguel8803
@micolarsjustinmiguel8803 Ай бұрын
Thank you for this video, but I am curious if this system would be compatible with the system you made for your Unity Clash of Clans Clone? I want to be able to control my units and tell them where to go or what to do next
@alfonzo6320
@alfonzo6320 Ай бұрын
simple and straightforward tutorial. i like it!
@emorenoism
@emorenoism Ай бұрын
Hi, thaks for the video!!! You explain it great!!! However i have a problem: my serverworld is not listening. I have checked the code many times and everything is ok. I have checked everything in the video and my Unity project is fine. Someone know what could be happening?
@emorenoism
@emorenoism Ай бұрын
ok, it's fixed!!! Thanks for the video!!!!
@kdawg717
@kdawg717 Ай бұрын
Thank you for explaining that this is impractical to use.
@DevGods
@DevGods Ай бұрын
I’m trying to think how this scales. For every rpc command sent you have to check every frame to receive it? There has to be a more optimal way right?
@marcodunkown
@marcodunkown 2 ай бұрын
If I’m using a sever that I bought do I need to use xampp?
@developershub_org
@developershub_org Ай бұрын
Yes, you need to use XAMPP or any other service that provides MySQL database.
@ReneSteenNielsen
@ReneSteenNielsen 2 ай бұрын
Thanks this was very useful! I accidently forgot to right click the subscene to spawn an entity - and instead just dragged a game object down. This was a huge mistake, which confused me for hours. Finally I figured it out and now everything is working. I would have loved to see how you implement look as well, but I get the idea and will be able to built it myself.
@abhilashh3904
@abhilashh3904 2 ай бұрын
all youtubers want to do easy videos. this is not the standard practice.. cut and paste and boom... ! why dont you explain the proper process
@lilytran4891
@lilytran4891 2 ай бұрын
Hi. What do I do when my character sinks half way into the ground after triggering the aim animation?
@lilytran4891
@lilytran4891 2 ай бұрын
I have already put my rig to humanoid btw
@StickyLabDev
@StickyLabDev 2 ай бұрын
is it worth it
@YsoSiris
@YsoSiris 2 ай бұрын
Man, these are some great videos, I really appreciate your efforts doing these, I was doing so good, then when I got on episode 11, my character would no longer appear on the ClientServer (Instantiate as a prefab) and would only move camera around but no WASD or gamepad movement since character no longer pops into play in build mode MAC, and the StartServer would just follow the same camera as the ClientServer build, and the character (Instantiate as a prefab) is not appearing there either, I have doubled back 3 times to episode 8, when there were no scripts you supplied to see where I went wrong, followed all the way up to 13 and I still can't figure out why my character won't pop (Instantiate as a prefab) into the scene on ClientServer, i have all the Scripts exactly as they are when you supplied them from the TPS_13 Scripts Zip file, only one that I can think of that I don't have correctly is the ThirdPersonController Setup, yet I have followed the videos to make sure I did everything you did the same way, if there is any wisdom you can offer to set me back on course, I would be so thankful, I feel this is the closet inspiration I have had thus far in my game completion development with everything working error free for a change, no struggle if one is diligent to your courses, which you deliver professionally, easy to follow, that's why I am boggled at why my character disappeared (will not Instantiate as a prefab) from popping on the scene........BTW, i didn't have any errors at all from any of the scripts you supplied, so thats why I am really confused, not One error appear to say something is wrong.....Please assist me if you can, thanks in advance...
@lemetamax
@lemetamax 2 ай бұрын
Is this the last video? You haven't posted in a while. And... Can you also make a tutorial where we can connect to unity relay instead of a dedicated server? I was trying to use unity relay with Netcode for Entities, unfortunately I cannot find a good documentation/tutorial that covers this, and I'm no networking expert. But I figured that since we need the listening and connecting IPs and a single port, for the listening IP, I decided to pass in the IPv4 from relay's CreateAllocationAsync.RelayServer property, also the port from there, and for the connecting IP, I used the IPv4 and port from JoinAllocationAsync.RelayServer. But then I'm getting an error saying Socket creation failed (error 67108866: "Address unreachable (0x04000002) - The requested address is not valid in its context. (WinError:00002741)
@ReneSteenNielsen
@ReneSteenNielsen 2 ай бұрын
I glazed through Unity's own documentation and made their latest 1.2.0 Netcode for Entities example before watching this playlist. I must admit something that was a tiny bit confusing was how you took a manual approach at the beginning of the series; and now way later introduce an automatic approach. If I could give any recommendations, I would list this video as the second part out of the second and make sure that people understand it's an alternative approach.
@ReneSteenNielsen
@ReneSteenNielsen 2 ай бұрын
Hi Developers Hub, what an incredible channel you got here! Suggestion: Include the package/manifest.json file so the viewers can know which packages and version's you are using without watching. Also after testing your package, I get these two warnings (nothing breaking) Trying to convert a ghost to predicted, but it is already predicted! Entity(140:3) Trying to convert a ghost to interpolated, but it is already interpolated! Entity(140:3) Did this happen to you too?
@ve_esquela
@ve_esquela 2 ай бұрын
After implementing all the lessons, my hits are registered very poorly (1 out of 10, depends on the bullet speed and firing angle). I noticed that there is no collision. Can you tell me what ways to improve? I have slower bullets than in the tutorials, but hit reg is awful.
@developershub_org
@developershub_org 2 ай бұрын
Make sure in the Projectile.cs script you are setting the collisionDetectionMode of rigidbody to ContinuousDynamic.
@ve_esquela
@ve_esquela 2 ай бұрын
@@developershub_org Setted. While trying to fix it, i replaced my scripts with your from sources, but problem still there. I Think its something with my char models, but it looks same as yours. Idk what to do, cause its floating issue. You can just stand and shoot the model from a distance of a meter, and after 20 rounds it will suddenly work. And you don’t even need to move the mouse.
@ve_esquela
@ve_esquela 2 ай бұрын
PS: Sorry for my english)
@ve_esquela
@ve_esquela 2 ай бұрын
Thx!
@ve_esquela
@ve_esquela 2 ай бұрын
Masterpiece!
@ve_esquela
@ve_esquela 2 ай бұрын
Is it deprecated? Cant find prefab list in asset create menu + network object params now is different
@ve_esquela
@ve_esquela 2 ай бұрын
And idk why, but after implementing this part, my camera just placed in the middle of the char head, triple checked, but not found any misspells. And char doesnt have any inventory. 2 days rewatching this and part before, im done exactly same, but now it broken asf. Maybe cause of version mismatch.
@developershub_org
@developershub_org 2 ай бұрын
Just double checked with Netcode for GameObjects version 1.8.1 and the prefab list is there.
@developershub_org
@developershub_org 2 ай бұрын
I'm not sure what could be wrong but since part 9 of the videos, the download link of the source code is in the description and might help you fix the issue.
@ve_esquela
@ve_esquela 2 ай бұрын
@@developershub_org Thanks! Problem was that i somehow installed version 1.2.0 and thinked it is last. After upgrade to last version, now it works like a charm. Sorry for disturbing)
@bramblewoodhall4757
@bramblewoodhall4757 2 ай бұрын
Brilliant Tutorial - lots of useful methods and clearly explained. Thank you!
@petergreyward
@petergreyward 2 ай бұрын
My assembly corrupted itself, back to Video 1.
@stormer268
@stormer268 2 ай бұрын
Thank you! Best DOTS tutorial ever! ❤💯
@inversebrah
@inversebrah 2 ай бұрын
excellent videos lil bro
@inversebrah
@inversebrah 2 ай бұрын
great explanation
@umme-life
@umme-life 2 ай бұрын
Very clean code project and git repo. Thanks a lot for sharing! The state of the project has evolved since this video was made and contains a simple multiplayer codebase. That said, to anyone who wants to follow along the exact codebase that is shown here, it's easy to checkout the initial release (if you know some git basics). Tested both v1.0.7 & v1.0.0 and both work smoothly.
@marekjasinski9558
@marekjasinski9558 3 ай бұрын
Wery good job!! I would like to create database for buildings with other names as you have. Did I need to change something in Scripts?
@marekjasinski9558
@marekjasinski9558 3 ай бұрын
Hi, Can you tell me how to create a combat system vs goblins in single player?
@StarDynamics
@StarDynamics 3 ай бұрын
this dots thing and all its features are super complicated to even setup !
@Badders1977
@Badders1977 3 ай бұрын
Thank you, that allowed me to visualize why DOTS exists. Great video!
@scoobyprohacker
@scoobyprohacker 3 ай бұрын
my character sink on the aiming animation
@ve_esquela
@ve_esquela 2 ай бұрын
Have you solved it?
@lilytran4891
@lilytran4891 2 ай бұрын
Mine also sinks. Have you found a way to solve it?
@ve_esquela
@ve_esquela 2 ай бұрын
@@lilytran4891yes, my problem was with missing animations
@lilytran4891
@lilytran4891 2 ай бұрын
@ve_esquela what do you mean by missing animation? Can you please explain?
@ve_esquela
@ve_esquela 2 ай бұрын
@@lilytran4891 in animator, in blending trees. Animations for armed state was unassigned (or broken, from other model). When i assign all correct animation, problem was gone