Skip to content

Debugging

Debugging tools are included from development including jump point visualization and extra safety debug logging. This is disabled by default for optimization.

  1. Use DemoPathingAgent and JPSPathDebugVisualizer components for visualizing jump points
  2. Generate a path
  3. Step through the path debug points with "Step Index"

Build

Preprocessor Directives

To use debugging: add JPS4_DEBUG to your "Scripting Define Symbols"

In Project Settings > Other Settings > Script Compilation Build

JPS4_DEBUG

Don't ship with JPS4_DEBUG! By default DEBUG is turned off on everything because Logging in a Unity Job will disable Burst Compilation.