# Using abstract type for debug draw channel does not cause compiler error, instead stalls at runtime

**URL:** <https://forums.unrealengine.com/t/using-abstract-type-for-debug-draw-channel-does-not-cause-compiler-error-instead-stalls-at-runtime/2734426>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [July 8, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/using-abstract-type-for-debug-draw-channel-does-not-cause-compiler-error-instead-stalls-at-runtime/2734426 "2026-07-08T15:31:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SilkyxMilky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/silkyxmilky/32/1133454_2.png) [@SilkyxMilky](https://forums.unrealengine.com/u/SilkyxMilky)\
**Post date:** [July 8, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/using-abstract-type-for-debug-draw-channel-does-not-cause-compiler-error-instead-stalls-at-runtime/2734426/1 "2026-07-08T15:31:46Z")

</div>

### Summary

1. Use the abstract class `debug_draw_channel` for `debug_draw:Channel`
2. Use the debug draw to draw something

### Please select what you are reporting on:

Creative

### What Type of Bug are you experiencing?

Verse

### Steps to Reproduce

If you use the abstract class `debug_draw_channel` for `debug_draw:Channel` it will compile just fine, but on a draw call it will stall the game.

### Expected Result

Compile time error, or pre-compile error

### Observed Result

Stalls execution at runtime

### Platform(s)

All

---

<div class="post-metadata">

**Author:** ![SilkyxMilky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/silkyxmilky/32/1133454_2.png) [@SilkyxMilky](https://forums.unrealengine.com/u/SilkyxMilky)\
**Post date:** [July 8, 2026, 3:34pm UTC](https://forums.unrealengine.com/t/using-abstract-type-for-debug-draw-channel-does-not-cause-compiler-error-instead-stalls-at-runtime/2734426/2 "2026-07-08T15:34:46Z")

</div>

wait, it might be something else…

---

<div class="post-metadata">

**Author:** ![SilkyxMilky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/silkyxmilky/32/1133454_2.png) [@SilkyxMilky](https://forums.unrealengine.com/u/SilkyxMilky)\
**Post date:** [July 8, 2026, 3:49pm UTC](https://forums.unrealengine.com/t/using-abstract-type-for-debug-draw-channel-does-not-cause-compiler-error-instead-stalls-at-runtime/2734426/3 "2026-07-08T15:49:05Z")

</div>

Weirdly this works, like this, in an asynchronous context. However it did not work in an immediate context. It does work in immediate contexts without using debug draw.

Here’s the code where it works (async context), removing the sleeps and making function immediate will crash without anything printing

```verse
PickUpBrainrotAsync(Agent: agent, GB: grid_brainrot_component)<suspends>:void=
        if:
            Player := player[Agent]
            not HeldBrainrotByPlayer[Player]
            not HeldByPlayer[Player]
            FC := Player.GetFortCharacter[]
            PlayerEntity := FC.GetEntity[]
        then:
            # Draw the point on the player
            Print("!!! Getting player point")
            Sleep(0.0)
            PlayerPoint := PlayerEntity.GetGlobalTransform().Translation
            Print("!!! About to draw")
            Sleep(0.0)
            DebugDraw.DrawSphere(PlayerPoint, ?Radius := 50.0, ?Color := NamedColors.Yellow, ?Duration := Inf)
            Print("!!! Finished drawing")
            Sleep(0.0)

            PlayerEntity.AddEntities(array{ GB.Entity })
            GB.Entity.SetLocalTransform(BrainrotHoldOffset())
            if (set HeldBrainrotByPlayer[Player] = GB) {}
            # Block re-interaction while carried, and free a grid spot to respawn.
            GB.Disable()
            set LiveBrainrotCount -= 1

```
