Skip to content

Upgrading from Lite (Free)

Welcome to JPS4+ Lite! The Main Docs will have almost all the same functionality: the only real difference is that the algorithms here will be running synchronous, so jobs / multithreading / burst will not be used like in the Pro Version. I highly recommend you upgrade if you're going to build anything beyond a hobby project.

Reach out with any questions at silointeractivegames+jps4@gmail.com

⚡ Pro Version

🆓 Free Version

JPS4+ Lite vs. JPS4+ Full

JPS4+ Lite 2D Grid Pathfinding is the free version of the asset. It contains single-threaded implementations of every algorithm and is a great way to evaluate JPS4 before committing to the full version.

JPS4+ 2D Grid Pathfinding (full version) provides multithreaded, highly optimized, and Burst-compatible versions of each algorithm available in the Lite version, along with additional features:

Feature Lite (Free) Full
A* 4-connected
A* 8-connected
JPS4 Horizontal-First
JPS4 Vertical-First
Burst-compiled algorithms
Multithreaded job queue
Highly optimized native containers
Dynamic obstacles
Closest target support
Animated grid movement

Get the full version on the Unity Asset Store


Steps to Upgrade

  1. Back up your project - commit or snapshot your project before making changes.

  2. Remove the Lite package - in the Unity Editor, delete the JPS4Pathfinding2D-Lite folder from your Assets/ directory.

  3. Import the full package - import JPS4+ 2D Grid Pathfinding from the Unity Package Manager (Window → Package Manager → My Assets).

  4. Resolve any namespace changes - the full version uses the same public API surface as Lite. If you have custom scripts referencing JPS4 types, they should compile without changes. Verify there are no remaining compiler errors after import.

  5. Re-build your grids - open each scene that uses a PathfindingGridBuilder and press Build on the component to ensure collision data is refreshed against the new assemblies.

Performance

Once upgraded, enable Burst compilation in your project (Jobs → Burst → Enable Compilation) to get the full performance benefit of the multithreaded job queue.

Safer (in-place) Upgrade

If you've already been using the lite version for a while, and want to just upgrade the necessary scripts, you can can still just drag in or import the pro version and do a few extra steps to replace the lite version.

  1. Import the Pro package - Check everything here, it will overwrite the existing scripts where needed.
  2. Remove Editor warnings - Delete the file at Assets/JPS4Pathfinding2D-Lite/Scripts/Editor/GridBuilderEditor.cs
  3. Move tests into JPS4-Lite - Move the folders in Assets/JPS4Pathfinding2D into Assets\JPS4Pathfinding2D-Lite This is needed because of the assembly reference
  4. Restart Unity this will refresh all the editors etc.
  5. Rename You can now remove the Assets/JPS4Pathfinding2D folder, and rename the Assets\JPS4Pathfinding2D-Lite to JPS4Pathfinding2D for future upgrades.

Import