Quick answer: Unity Physics.OverlapSphereNonAlloc crashing when called from a job? Physics queries are main-thread only - move into _Update or use Burst-compatible Unity.Physics queries.
Burst job calls OverlapSphereNonAlloc; build runs; iOS crashes with thread affinity error.
Stay on main thread
Physics queries belong in MonoBehaviour Update. Jobs gather inputs; main thread queries; jobs process results.
Or use Unity Physics package
DOTS Physics has Burst-compatible queries. The migration is non-trivial; the result is parallel queries.
Aggregate into one call
If many objects need queries, batch their positions; one OverlapSphereNonAlloc per frame for the group; results dispatched back.
“Built-in PhysX is main-thread. Burst jobs are not.”
If you need parallel physics queries, Unity Physics (DOTS) is the path. Built-in PhysX is staying main-thread.