Verse OnBegin not executing even in fresh project with simple HUD message test

Hi everyone,

I’m having a really strange issue with Verse in UEFN and I’ve spent hours trying to isolate it but nothing seems to work.

My problem is that OnBegin does not appear to execute at all.

I originally thought it was an issue with my main heist system/script, but I’ve now reduced everything down to the simplest possible test and it still fails.

Current test:

verse using { /Fortnite.com/Devices } using { /Verse.org/Simulation } HEIST_VERSE_DEVICE := class(creative_device): @editable RewardMessage : hud_message_device = hud_message_device{} OnBegin():void = RewardMessage.Show() return

What I tested:

  • Build Verse succeeds with no errors
  • Verse device is enabled at game start
  • HUD Message Device is linked correctly
  • I deleted and replaced the Verse device with a fresh one
  • I moved OnBegin near the top of the file
  • I tested in both my main project and a fresh blank project
  • I fully restarted Fortnite + UEFN
  • I verified device links multiple times

But:

  • no HUD popup appears
  • no sounds play
  • no events fire
  • OnBegin appears to never run

At this point I’m unsure if:

  • my project/runtime is corrupted
  • the Verse device instance is broken
  • UEFN/Verse runtime itself is failing somehow

Has anyone experienced this before or knows what could cause OnBegin to never execute even in a fresh project?

Any help would genuinely mean a lot because I’ve been stuck on this for a long time now.

Thank you :slight_smile:

Hello and welcome to the forums! Weird issue but in the code, it looks like the override is missing for the on begin.

using { /Fortnite.com/Devices } 
using { /Verse.org/Simulation } 
HEIST_VERSE_DEVICE := class(creative_device): 
    @editable 
    RewardMessage : hud_message_device = hud_message_device{} 
    OnBegin<override><#Added override#>():void= 
        RewardMessage.Show()

Check if that solves it.

Thank you so much, I really appreciate the help! I’ll try this out now and let you know if it works :slight_smile:

Your first verse file on a new project MUST be created through the Verse Explorer (Verse → Open Verse Explorer).
This is a know current limitation, if you just manually create a verse file outside the editor, it will have these side effects :confused: