diff --git a/source/funkin/ui/debug/anim/DebugBoundingState.hx b/source/funkin/ui/debug/anim/DebugBoundingState.hx index 1aa5d6e12..04784a5b7 100644 --- a/source/funkin/ui/debug/anim/DebugBoundingState.hx +++ b/source/funkin/ui/debug/anim/DebugBoundingState.hx @@ -532,6 +532,11 @@ class DebugBoundingState extends FlxState // swagChar.debugMode = true; offsetView.add(swagChar); + if (swagChar == null || swagChar.frames == null) + { + trace('ERROR: Failed to load character ${char}!'); + } + generateOutlines(swagChar.frames.frames); bf.pixels = swagChar.pixels;