Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Summary
Verse tags do not currently work with volume devices: Assigning a verse tag to a volume device in UEFN does not let GetCreativeObjectsWithTag()
find the device.
Steps to Reproduce
Build the verse code below, place a barrier device and a volume device, then assign the bug_demo_tag
tag to each, place the tagged_volume_bug_demo_device
creative device, and launch a session to see the issue.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Verse.org/Simulation/Tags }
bug_demo_tag := class(tag){}
tagged_volume_bug_demo_device := class(creative_device):
OnBegin<override>()<suspends>:void=
TaggedObjects := GetCreativeObjectsWithTag(bug_demo_tag{})
Print("Found {TaggedObjects.Length} tagged objects")
var VolumeDevicesFound : int = 0
var BarrierDevicesFound : int = 0
for (Object : TaggedObjects):
if (volume_device[Object]):
set VolumeDevicesFound += 1
if (barrier_device[Object]):
set BarrierDevicesFound += 1
Print("Found {VolumeDevicesFound} VolumeDevices")
Print("Found {BarrierDevicesFound} BarrierDevices")
Expected Result
The above code should find 2 tagged objects, one volume device and one barrier device.
Observed Result
The above code only finds one tagged object (the barrier device), even though the volume device has the same tag.
Platform(s)
Windows 11, UEFN 29.30