Critical - Cooker crash when using maps in Verse

The following Verse code causes the cooker to crash, preventing me from loading into my island:

using { /Fortnite.com/Devices }
using { /Fortnite.com/Playspaces }
using { /Verse.org/Simulation }

test_device := class(creative_device):
    var TestMap: [player]int = map{}

    OnBegin<override>()<suspends>: void =
        for (Player : Self.GetPlayspace().GetPlayers()):
            if (TestNumber := set TestMap[Player] += 1):
                Print("TestNumber: {TestNumber}")

This leads to the following error:

Cooker had an error while cooking this project. Error: errors.com.epicgames.cookplugin.cookfailure, An error occurred while communicating with the game servers (LogWindows: Error: appError called: Assertion failed: false [File:D:\build\++Fortnite\Sync\Engine\Restricted\NotForLicensees\Plugins\Solaris\Source\VerseNative\Private\PropertyReference.cpp] [Line: 20] 
LogWindows: Error: begin: stack for UAT
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: false [File:D:\build\++Fortnite\Sync\Engine\Restricted\NotForLicensees\Plugins\Solaris\Source\VerseNative\Private\PropertyReference.cpp] [Line: 20] 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff6c5ae6079 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d337b8a8 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d3378d63 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d34f6a63 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d34f5c90 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d34f5658 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d32727ce FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d359b7c9 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d359bfb0 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6d359c4da FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6dbc285e2 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6dba69ece FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6dba5c297 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6dba733e2 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6dba72c6e FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6db871590 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6db88b642 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6c5775028 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6c576c7ba FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6c576cb6a FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6c576f506 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6c5780b14 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff6e3064506 FortniteContentWorker-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffe9f477974 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffec1c3a2f1 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: Error: end: stack for UAT SentryEventId=50dcf81f1cf142d3928c67957e2691b2)., CookJobId:46efcabc-db61-4fa4-968e-c083ba9f677f, CookJobId:46efcabc-db61-4fa4-968e-c083ba9f677f

Hi @mixv2 Thanks for the callout! The team is already aware of this and working on it. Thanks!

1 Like