Voxel Plugin
2.0p-320
2.0p-320
  • Home
  • Roadmap
  • Getting Started
    • Installing Voxel Plugin
    • Installing Example Content
    • Migrating from 1.2
  • Basics
    • Brush & Channels
    • Foliage
    • Navmesh & Collision
    • Density Canvas
    • Blueprints
      • Setting graph parameters
      • Querying voxel graphs
    • Cubemap planets
  • Advanced Usage
    • Memory Usage & Render Performance
    • Using Graph Preview
    • Debugging plugin code
  • Platform Support
    • Targeting Mac & iOS
    • Targeting Android
  • Design Insights
    • Why Landmass & MetaGraphs
    • Channels & Physics Scenes
    • Execution Flow & Query Data
    • Node Types
    • Passing Data to Materials
    • MetaGraph Macros
    • Buffers and Uniforms
    • Utilities for Performant Graphs
  • Licensing
  • Release Notes
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Usage

Debugging plugin code

PreviousUsing Graph PreviewNextPlatform Support

Last updated 2 years ago

Was this helpful?

By default, the plugin is always compiled with optimizations enabled. If you'd like to debug the plugin, you need to do the following:

  • Make sure the plugin is in your project (not engine), and that you're in DebugGame

  • Create an empty text file named VoxelDevWorkflow_Debug.txt in:

    • To enable it globally: %appdata%/Unreal Engine

    • To enable it locally: YourProject/Plugins

  • Rebuild the plugin. This will also disable Unity build for the plugin, so you should see >600 actions.

  • You can check VOXEL_DEBUG is enabled in the engine startup log: VOXEL_DEBUG=1 will be printed

  • The code handling this logic is here:

https://github.com/VoxelPlugin/VoxelPlugin/blob/dev/Source/VoxelCore/VoxelCore.Build.cs#L31