VerseIsland
Feed Learn Leaderboard Guides Reference Explore Search Docs Verse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Fortnite › Verse Language · Up to Fortnite · Verse Language · 35 of 570 in Verse Language
Browse Fortnite

Debugging and Troubleshooting in Verse

When things don’t work as you expect in your Verse code, sometimes it's hard to understand what went wrong. For example, you can encounter:

  • Runtime errors.
  • Code executing in the wrong order.
  • Processes taking longer than they should.

Any of these can cause your code to behave in unexpected ways and create problems in your experience. The act of diagnosing problems in your code is called debugging, and there are several different solutions you can use to fix and optimize your code.

Verse Runtime Errors

Your Verse code is analyzed both as you write it in the language server and when you compile it from the editor or Visual Studio Code. However, this semantic analysis alone can't catch all the possible problems you can encounter. When your code executes at runtime, you may trigger runtime errors. These will cause all further Verse code to stop executing, which may make your experience unplayable.

As an example, suppose you had some Verse code that did the following:

|  |  |
| --- | --- |
|  | # Has the suspends specifier, so can be called in a loop expression. |
|  | SuspendsFunction()<suspends>:void={} |
|  |  |
|  | # Calls SuspendFunction forever without breaking or returning, |
|  | # causing a runtime error due to an infinite loop. |
|  | CausesInfiniteLoop()<suspends>:void= |
|  | loop: |
|  | SuspendsFunction() |

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated May 12, 2026
    Keep exploring
    More in Verse Language · 35 of 570
    Prev
    debug your game with debug draw in verse
    Next
    defer in verse
    Browse all files in this folder (A–Z)
    Next up
    • Verse Glossary
    • To inspect runtime errors that have occurred in your experience, navigate to the [Content Service Portal
    • Collapse code Copy full snippet(13 lines long)
    • Loggers and Logging Output
    • To solve this, you can use a [logger
    • To build a logger, you first need to create a [log channel
    Related topics
    • Programming With Verse In Unreal Editor For Fortnite Verse Language
    • Learn Programming With Verse In Unreal Editor For Fortnite Verse Language
    • Learn Programming With Verse In Unreal Editor For Fortnite Verse Language
    • Verse Runtime Error Reporting In Fortnite Creative Publishing
    • Technical Performance In Fortnite Editor & Project

    Related

    Open in graph →

    Linked docs

    • Verse Glossary

    Related topics

    • Programming With Verse In Unreal Editor For Fortnite
    • Learn Programming With Verse In Unreal Editor For Fortnite
    • Learn Programming With Verse In Unreal Editor For Fortnite
    • Verse Runtime Error Reporting In Fortnite Creative
    VerseIsland · an archipelago of Verse & UEFN knowledge
    🗺️ Island atlas Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

    🦜

    Scout · your island guide

    The Isle of Verse