Fortnite crashes while opening any map thgough UEFN

Finally I got a reasonable error. But, Epic, why it goes to Clipboard? Why don’t it come directly to UEFN console or error dialog?

Fatal error: [File:D:\build++Fortnite\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading2.cpp] [Line: 1724]
ObjectSerializationError: /fbc8f956-4463-b43d-8349-7eae65e4d2e1/_Verse/MiningMachineUpgradeCallback (0xE870D619290931C3) /fbc8f956-4463-b43d-8349-7eae65e4d2e1/_Verse/MiningMachineUpgradeCallback (0xE870D619290931C3) - BaseUpgradableMachineClass /Engine/Transient.__verse_0x91F46DD3_OwnerMachine: Bad export index 956301311/57.

0x00007ff6c3b782ae FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6c33f5704 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfa528e5 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6c3c1a2bc FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bf9b439d FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfbe02f9 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfbdf3c4 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfbde746 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfbde1bc FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfdd2a7e FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6bfdd2548 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6c0bbc9b7 FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ff6c0bbc81a FortniteClient-Win64-Shipping.exe!UnknownFunction
0x00007ffdc5bf7344 KERNEL32.DLL!UnknownFunction

Crash in runnable thread FAsyncLoadingThread

Anyway, basically I had an inheritance situation and my implementation was causing that crash. So Epic Team, if it can help you. Follows:

BaseUpgradableMachineCallback := class<concrete>:
    @editable
    TriggerCallback : trigger_device = trigger_device{}
    var OwnerMachine : BaseUpgradableMachineIntf = BaseUpgradableMachineClass{}

    Initialize(Machine : BaseUpgradableMachineIntf) : void=
        set OwnerMachine = Machine
        TriggerCallback.TriggeredEvent.Subscribe(OnPlayerUpgraded)

    OnPlayerUpgraded(MaybeAgent : ?agent) : void= {}

MiningMachineUpgradeCallback := class<concrete>(BaseUpgradableMachineCallback):
    @editable
    NewAmountPerCycle : int = 0
    var OwnerMachine<override> : BaseUpgradableMachineIntf = MiningMachineClass{} # <-- According to error above, the crash is here

    OnPlayerUpgraded<override>(MaybeAgent : ?agent) : void=
        OwnerMachine.SetAmountPerCycle(NewAmountPerCycle)

So if I drop the creative device that uses MiningMachineUpgradeCallback in the map, the crash occurs. Otherwise, everything works fine.

1 Like