Questions tagged [unity-burst]

3 questions
1
vote
1 answer

What's the difference between the Allocators of a NativeArray?

When should I use which value (None, Invalid, Temp, TempJob, Persistent, FirstUserIndex, AudioKernal) How does each Allocator affect allocation and the lifespan of the NativeArray in implementation? I can't figure out how the…
TanmanG
  • 23
  • 5
0
votes
0 answers

Why isn't Unity Burst's inspector showing some variables?

While looking at the native code generated by Unity Burst to see whether it's leveraging SIMD, I have a hard time reading it as it is incompletely shown in the inspector. For instance, there are variables that simply aren't shown, h1, h2, h3 and…
aybe
  • 15,516
  • 9
  • 57
  • 105
0
votes
0 answers

Pathfinding with Unity Jobs and Burst is slower than without

I tried to implement pathfinding to my game in Unity, based on videos and improving on its code. To get more efficient with multi-threading, I would like to implement Unity Jobs, but as it is my first time to do it, I got some interesting…
Zwiebel
  • 1,605
  • 4
  • 21
  • 37