Vese causes the editor to crash (EXCEPTION_ACCESS_VIOLATION)

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Summary

A certain verse snippet compiled just fine with v29.30 editor (but wasn’t tested at runtime). Since v29.40 the editor crashes on project launch.

Steps to Reproduce

Add a result.verse file with the following content.

result(success: type, failure: type) := class<abstract><computes> {
  Success()<transacts><decides>: success
  Failure()<transacts><decides>: failure
}

Result := module {
  result_impl(success: type, failure: type) := class(result(success, failure)) {
    S: ?success = false
    F: ?failure = false

    Success<override>()<transacts><decides>: success = { 
      S?
    }
    Failure<override>()<transacts><decides>: failure = {
      F?
    }
  }

  Success<public>(S: success, failure: type where success: type): result(success, failure) = {
    result_impl(success, failure) {
      S := option { S }
    }
  }

  Failure<public>(F: failure, success: type where failure: type): result(success, failure) = {
    result_impl(success, failure) {
      F := option { F }
    }
  }
}

Expected Result

No crashes.

Observed Result

Parts from the crashlogs (full crashlogs were uploaded through the crash popup):

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x00000abc39494b00
Script Stack (1 frames) :
/Engine/Transient.VERSE_DEAD_result_0.$InitCDO

[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: === Handled ensure: ===
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: 
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: Ensure condition failed: !((ThisClass*)(Context))->GetClass()->HasAnyClassFlags(CLASS_NewerVersionExists)  [File:D:\build\++Fortnite\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp] [Line: 1288] 
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: Object 'VERSE_DEAD_result_0 /Engine/Transient.Default__VERSE_DEAD_result_0' is being used for execution, but its class is out of date and has been replaced with a recompiled class!
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: Stack: 
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff710884419 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71066b210 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff710883365 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71ee9644a UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71eeaba9e UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71eeee6af UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71ee8abe1 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71ee356ec UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71ee33c37 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71ee32acc UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71eec0462 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71f04ffe3 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71f04f532 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71f055099 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71f054e15 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b5c2062 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b593b7e UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b5bdfbd UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b61acf9 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b64c20d UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b61b0bb UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff72b64c1cd UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5b73d5 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5c1331 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5ab622 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5eaaed UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5c1251 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71c5bfb3a UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71bc80eae UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71bee4e44 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71beedcfc UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71beedd8a UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71beeecc0 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff71befa194 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ff731db9212 UnrealEditorFortnite-Win64-Shipping.exe!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ffa27077344 KERNEL32.DLL!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: [Callstack] 0x00007ffa280c26b1 ntdll.dll!UnknownFunction []
[2024.05.03-17.48.48:958][943]LogOutputDevice: Error: 
[2024.05.03-17.48.49:205][943]LogSolarisRuntime: Script linking completed successfully.

Platform(s)

PC

The status of FORT-741694 incident has been moved from ‘To Do’ to ‘In Progress’.