Unity DOTS: C# Job System

preview_player
Показать описание
In this episode, we look at the C# Job System, which helps you write multithreaded code.

Also check out the previous videos in this series:
Unity DOTS: Creating an Entity

Unity DOTS: Conversion Workflow

Unity DOTS: Components and Systems

Want to learn more about DOTS and ECS? Sign up for our mailing list to get notified when the premium course releases:

Let’s build something cool together!
Рекомендации по теме
Комментарии
Автор

Tutorial was such high tier I watched it even though I am not using Unity but still wanted to learn about multithreaded job systems

StarContract
Автор

after checking others vids about job system, this one is much more understanding than others

BIMLOVEYJY
Автор

thank you, I bought your courses even though I really don't need them, I just want to support you're made so good and easy understanding video! saved my a lot of time for DOTS learning

qin
Автор

I think it's the first time I've seen a video with several thousands of views with _0_ dislikes.

lisandroCT
Автор

That was the best explanation so far. Thanks a lot.

tony
Автор

You've talent to explain complicate things !!!

FREDO-pyti
Автор

Thinking of jobs as a struct(the value type) really helps out in the correct way on thinking about its requirements and life cycle. Ty.Cool

shirosurfer
Автор

why do we need to dispose the native array when we provide an allocator.temp which tells it that it only last 1 frame like you said? If we do dispose it manually, why the allocator?

anonymoussloth
Автор

Hello first of all thank you for your great series of tutorial, you even created a useful playlist for DOTS that let's us go through each topic in a logical sequence step by step, they are also great because are up to date which is hard to find, also the visual aids you put are great and helpful.

I have a question regarding jobs. When doing an IJob it's pretty clear how to output data as you explained it.
If one decide to use SystemBase and use ScheduleParallel for a ForEach, how does one output a result/value?

RockoShaw
Автор

I am getting the following error, do you know how to fix it :

A Native Collection has not been disposed, resulting in a memory leak. Allocated from:
Unity.Collections.NativeArray`1:.ctor(Byte[], Allocator)

UnityEngine.Networking.UnityWebRequest:SetupPost(UnityWebRequest, WWWForm)
UnityEngine.Networking.UnityWebRequest:Post(String, WWWForm)

chethansiqaandiostuff
Автор

Hello, I would like to understand one thing clear when we use the job system its blocks the main thread ( main thread has to wait until the job gets done) right? It's similar to using thread.join( ). I want to know what is the reason for blocking the main thread since it will make the application unresponsive? why they don't work concurrently? Thank you for the tutorials .

burakgok
Автор

will this affect mobile gaming, like battery life and heat problem?

gawer
Автор

Awesome, But!!! where is the source code link!? your code link help me to review whatever passed in your video once again

ssmasrour
Автор

So in this video there are no answers to the questions of how actually job system achive parallel computation, when we need to use job system, what is the benifit of job system in comparision to thread pool. You just showed how to work with job API on a kinda useless example.

Jigernaunt