The debug drawing for ASmartObjectSubsystemRenderingActor is always enabled during PIE or non-shipping game builds. This leads to a blue debug box being drawn at all slot locations for every SmartObject. While this can be useful, it is not desired to have visible at all times.
Currently, there is no way for a user to toggle the drawing on/off for debug purposes. It is always enabled by
#if UE_ENABLE_DEBUG_DRAWING
and uses ViewFlagName set to Game.
Expected Result: Nothing is drawn for the SmartObject's slot in the level unless I enable some form of debugging such as the Gameplay Debugger's SmartObject category.
Actual Result: A blue debug box is drawn where the SmartObject's slot is. There is no way to toggle the debug drawing off in PIE or a non-shipping game build.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-171598 in the post.
2 |
Component | UE - AI - SmartObject |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.2 |
Created | Dec 1, 2022 |
---|---|
Resolved | Dec 7, 2022 |
Updated | Feb 4, 2023 |