Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >

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
0 answers
150 views

package versions I'm using: Entities: com.unity.entities Version 0.51.1-preview.21 Documentation URL: https://docs.unity3d.com/Packages/[email protected]/manual/index.html Physics: com.unity....
rasputin'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 Job that needs to take some string from main thread and use it locally. Considering that the Job System cannot directly accept the string as an argument, is there any workaround to circumvent ...
Corvus Ultima'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
1 vote
1 answer
232 views

I'm trying to use Unity Job system to speed up some calculation related to Reaction-Diffusion simulation. The calculations requires 2 matrixes, current and ...
silverfox's user avatar
  • 117
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
1 vote
1 answer
479 views

I'm trying to make a system where the player can do a RTS-like drag-to-select of tiles in a box to mark trees to be chopped or ores to be mined. I'm testing this system on a large scale, possibly ...
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
0 votes
1 answer
1k views

i've been building my script normally, but suddently after the last build, i don't see any GameObject Rendered in Scene Tab beside a canvas i have in another scene. I can see everything rendered in my ...
TensaDev's user avatar
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
0 votes
1 answer
388 views

I am trying to make a simple time rewind mechanic. It's working but it becomes slower as number of game objects increases. I decided to give Job System a shot. My idea is to interpolate between ...
videogamechef'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