Chaos Debug Console Commands not working (5.3)

I am trying to debug Geometry Collections/Chaos but none of the following console commands do anything. Are they broken in 5.3?

p.Chaos.DebugDraw.Enabled 1
p.chaos.DebugDrawAwake 1
p.Chaos.DebugDraw.ShowCoreShapes 1
p.Chaos.DebugDraw.Mode 1
p.Chaos.DebugDraw.Radius 7000
p.Chaos.DebugDraw.MaxLines 100000
p.Chaos.Solver.DebugDrawCollidingShapes 1
p.Chaos.Solver.DebugDrawShapes 1
p.Chaos.Solver.DebugDrawCollisions 1

Have tried entering these at Runtime and also as node ‘execute console commands’ and neither works for me. For my sanity can anyone on 5.3 check if they are working?

Are there any alternate ways of debugging Chaos behaviours in 5.3?

I’m having this same issue with 5.3, have had no luck getting the debugs to show up. Did you figure anything out?

I am afraid not - still not working for me

Have you managed to make it work

You have to enable Chaos Visual Debugger plugin

I have chaos visual debugger enabled and I cant make any of the debug show up at all.
has anyone found a fix for this?

thanks

Hi, the Chaos Visual Debugger is not related to any of the existing debug draw features, it is its own editor tool and recording visualization tool.

Although we don’t have anything specific for vehicle debugging in CVD (for short), you should be able to see all physics bodies and their state.

Here is the documentation for the 5.4 version

And for the 5.5 version Chaos Visual Debugger - User Guide for UE 5.5 | Tutorial

Answering the original question

To enable debug draw visualization outside CVD (which is new as Beta since 5.4)

These two cvars should enable the visualization in Editor (or development packaged builds. It is compiled out in shipping).

p.Chaos.DebugDraw.Enabled 1
p.Chaos.Solver.DebugDrawShapes 1

I am not aware of any issues in UE 5.3, but I will check and report back.

If these 2 cvars show debug draw for each collision shape, then maybe it is a specific collision flag that has the issue (there are several)

Hi,

I wanted to report back that I tested this in UE 5.3.2 and the cvars are working there.

Something important to mention is that I noticed the original post mentions that

p.Chaos.DebugDraw.Mode

was used and set to 1.

That will send the debug draw data to the visual logger instead of the viewport, which means it will not be drawn.

That cvar should be left as it is by default (set to 0), or set to 2 which will send the data to both systems if you want to see the visualization in the viewport.

If you still have issues in the last version of UE 5.3 or later versions, I recommend sharing the exact cvar combination used to see if there is any incompatibility between them.

1 Like