Skip to main content

Questions tagged [unity-job-system]

Filter by
Sorted by
Tagged with
1 vote
1 answer
81 views

I'm relatively new to Unity, and I wanted to use the Job system for a complex pathfinding algorithm, since it will likely be used alongside multiple instances of NPCs attempting to find a valid route. ...
Jason Li's user avatar
0 votes
1 answer
2k views

I have a slow level generation algorithm that freezes the main thread when it runs. I found this post which is exactly the same problem, but predates the Jobs system. All the jobs examples I found are ...
arcadeperfect's user avatar
1 vote
1 answer
2k views

I have a following code , and i can not retrive encoded Output from Job. If I Use JOB : The result is not a valid png file. What I get is a 67,2 MB file which can not be opened with any image editor ...
Corvus Ultima's user avatar
2 votes
2 answers
2k views

Say we have a parallel job (implementing IJobParallelFor) which requires a large array (>100,000 items) as an input to do some complicated processing. After said ...
caleidon's user avatar
  • 591
2 votes
1 answer
2k views

I have a NativeArray which stays alive during the whole game, using the Persistent allocator. Should I dispose it inside an <...
starikcetin's user avatar
  • 5,333
1 vote
1 answer
194 views

So I have a voxel terrain engine, and I have an interface that all meshing jobs should inherit from. That looks like this (simplified from the actual): ...
Eldemarkki's user avatar
8 votes
2 answers
11k views

I have been reading about NativeArray, but I have to admit I do not understand it. From the documentation: A NativeArray exposes a buffer of native memory to managed code, making it possible to ...
Enrique Moreno Tent's user avatar