Debug Draw and Builds

In Niagara, when using debug draw data interfaces, it would be good to have a way to make sure that the debug draw visualisation doesn’t make it into a build. We also probably want to make sure that any debug draw logic is not compiled into the game, from an optimisation point of view.

Is there any way to set a static switch in Niagara to be toggled off in a build, possibly with a console command or is there any other way of stripping out any debug draw visualisations from a build currently?

Hi,

You can use this switch to ensure your debug draw is removed when the system is not in ‘edit mode’. Edit mode is automatically enabled when you open the system editor.

[Image Removed]

When used inside a module the module will then show the eye in the stack allowing your to easily toggle on / off debug drawing for that module.

Thanks,

Stu

Thanks! Perfect. Appreciate the help.