[UEFN CRASH] Verse Crashes after Referencing verse devices

Reference ID

9271dcd9-48ed-04af-4fe9-b09737182284

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Summary

When I try to reference another verse device using UEFN

Steps to Reproduce

  1. Create an Empty Project
  2. Add the 2 verse scripts written below
  3. Remove the “#” from my_other_device.verse line 9
  4. Build Verse

Expected Result

Verse will try to build and If there are any errors they will be displayed in a small pop-up window notifying you of your mistakes letting you edit the verse code to fix it

Observed Result

UEFN Crashes and the project will have a high chance of not being openable unless you go into the files to manually edit the verse files commenting out most of the code

Platform(s)

windows

Additional Notes

The Verse Scripts I used:

my_other_device.verse

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }

my_other_device := class(creative_device):



    @editable OtherDevice : game_manager = game_manager{}
    OnBegin<override>()<suspends>:void=
        Print("Hallo Part 2")

game_manager.verse

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }


game_manager := class(creative_device):


    @editable MyOtherDevice : my_other_device = my_other_device{}
    OnBegin<override>()<suspends>:void=
        Print("Hallo :3")

Video Showcasing the bug: https://youtu.be/5_UZqSRpU60

I found these in the crash folder I assume they might be of help.

UnrealEditorFortnite.log (2.5 MB)
CrashContext.runtime-xml (83.1 KB)
CrashReportClient.ini (180 Bytes)
UEMinidump.dmp (797.7 KB)

The verse scripts
my_other_device.verse (301 Bytes)
game_manager.verse (303 Bytes)

A zip of the entire project right before the “#” in the verse code was removed causing the project to not load
VerseCrashTest.zip (62.0 KB)

The status of FORT-762875 incident has been moved from ‘Unconfirmed’ to ‘Closed’. Resolution Reason: ‘Duplicate’

1 Like

Duplicate ticket: FORT-656997

1 Like

This will be fixed in a future version.

1 Like

Oki thanks for the quick response. :+1:

Thank YOU for the detailed report! :man_superhero:

1 Like

Hi Flak,

So which is the problem here? how we can point to custom device without have this error?

Btw, i found a small hack, instead of that:

@editable MyOtherDevice : my_other_device = my_other_device{}

Use an array:
@editable MyOtherDevice : []my_other_device = array{}

That will work

1 Like

No wayy thank you for this workaround :pray: I can continue working on the map without changing a lot thank youuuuu :heart:

I think its super important to fix this bug, because connect two device its fundamental.
No problem mate, gl :smiley:

1 Like

@Flak

Any news?

Interesting to see this appear again!
This was my very first bug/issue that I encountered with verse/uefn.

Happy to see it getting fixed :slight_smile:

1 Like