Uploaded October 2024 | Updated September 2026, 6 hours ago
Unity's Jobs System and Burst Compiler are powerful tools for optimizing performance in your projects. In this video, we build a dynamic spatial hashing system from scratch, demonstrating how to efficiently partition space and reduce unnecessary calculations. Learn how to set up parallel jobs, manage native memory, and visualize the grid-based spatial hash. This step-by-step guide is perfect for anyone looking to improve performance in their Unity projects, whether you're handling physics, proximity queries, or other large-scale systems.
Want to support me? π
Buy me a coffee! ko-fi.com/adammyhre
π Subscribe for more Unity Tutorials youtube.com/@git-amend
Discord: discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
β¬ Contents of this video β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬
0:00 Setup
4:43 Movement Job
9:50 Spatial Hashing
14:00 Searching the Spatial Hash
20:15 Adding Visuals
*Source code:* gist.github.com/adammyhre/12344c57f86d19a9892b2a461e02d500
More Useful Code:
github.com/adammyhre?tab=repositories
Unity Utility Library: github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642
Assets Shown In This Video (Affiliate Links)
Rocket FREE: assetstore.unity.com/packages/3d/vehicles/space/rocket-cartoon-capsule-196997?aid=1101lw3sv
Stylized Boost Trail Particles: assetstore.unity.com/packages/vfx/particles/fire-explosions/stylized-boost-trail-particles-246179?aid=1101lw3sv
Hot Reload: assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Hierarchy Icons: assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend
Unity's Jobs System and Burst Compiler are powerful tools for optimizing performance in your projects. In this video, we build a dynamic spatial hashing system from scratch, demonstrating how to efficiently partition space and reduce unnecessary calculations. Learn how to set up parallel jobs, manage native memory, and visualize the grid-based spatial hash. This step-by-step guide is perfect for anyone looking to improve performance in their Unity projects, whether you're handling physics, proximity queries, or other large-scale systems.
Want to support me? π
Buy me a coffee! ko-fi.com/adammyhre
π Subscribe for more Unity Tutorials youtube.com/@git-amend
Discord: discord.gg/FDRZGQBBUC
#unity3d #gamedev #indiedev
β¬ Contents of this video β¬β¬β¬β¬β¬β¬β¬β¬β¬β¬
0:00 Setup
4:43 Movement Job
9:50 Spatial Hashing
14:00 Searching the Spatial Hash
20:15 Adding Visuals
*Source code:* gist.github.com/adammyhre/12344c57f86d19a9892b2a461e02d500
More Useful Code:
github.com/adammyhre?tab=repositories
Unity Utility Library: github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642
Assets Shown In This Video (Affiliate Links)
Rocket FREE: assetstore.unity.com/packages/3d/vehicles/space/rocket-cartoon-capsule-196997?aid=1101lw3sv
Stylized Boost Trail Particles: assetstore.unity.com/packages/vfx/particles/fire-explosions/stylized-boost-trail-particles-246179?aid=1101lw3sv
Hot Reload: assetstore.unity.com/packages/tools/utilities/hot-reload-edit-code-without-compiling-254358?aid=1101lw3sv
Hierarchy Icons: assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv
Better Transform: assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv
Better Mesh Filter: assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv
Editor Console Pro: assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv
Any Object Finder: assetstore.unity.com/packages/tools/utilities/any-object-finder-286455?aid=1101lw3sv
*Follow me!*
https://linktr.ee/gitamend








