New Objective device DamageEvent() does not work until a function is called on the device

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

DamageEvent() on the objective device that was just added in the latest patch does not work until a function is called on the device.

Steps to Reproduce

Place objective device, button device, and a custom verse script that subscribes to the objective DamageEvent() and the button interact event. have the button trigger a Heal() on the objective when pressed. have the damagedevent print a string showing the damage value. shoot the objective device (no print), press the button to heal the device, shoot the objective (print displayed)

Expected Result

DamageEvent() should work without having to call a function on the device

Observed Result

DamageEvent() does not work until function called on objective device

Platform(s)

uefn pc

Island Code

3770-3210-2295

Additional Notes

Video: 2024-08-16 04-02-04.mp4 - Google Drive

I’m also seeing this. Here is a simple example, the DamagedEvent never triggers.

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

test_objective_events_device := class(creative_device):

    @editable
    Objective : objective_device = objective_device{}

    OnBegin<override>()<suspends>:void=
    {
        Objective.DamagedEvent().Subscribe(OnDamagedEvent)
        Objective.DestroyedEvent.Subscribe(OnDestroyedEvent)
    }

    OnDamagedEvent(Results:damage_result):void=
    {
        Print("hit!")
    }

    OnDestroyedEvent(Player:agent):void=
    {
        Print("destroyed!")
    }