Reference ID
790b4c69-4b0c-f28c-787a-d8abab6a1ee6
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Summary
Disabling Item Placer devices that have only one item in their item list (a weapon) will not hide the weapon mesh in game. It appears that calling item_placer.Disable() in Verse will disable the interactivity and usability of an item placer (i.e. will cause the Item Placer to be not be able to be interacted with, and will not prompt the user with the Interact Text.) but will not actually disable the Rendered Components of the Item Placer
Steps to Reproduce
- Place one or more Item Placer devices in a UEFN Island Map.
- Write a simple Verse Device with an Item Placer array property that disables each Item Placer in the Item Placer array using item_placer.Disable() in each iteration over the Item Placer Array in the OnBegin() method of the device. This should theoretically disable each Item Placer when the game starts and the Verse Device is started.
- Build this simple verse code.
- After Build is successful, find the simple Verse Device in the Content Browser and Drag it into the level.
- Select the device in the active viewport such that the device’s properties appear in the Details Panel.
- Add an array element to the item_placer array for each item_placer that was placed in the level and assign one item placer to each of the indices.
- Ensure that each Item Placer referenced in the array has its “Visual Style” property set to “Model”
- Push Changes and Play Game. Navigate to the Item Placers and Observe “Observed Result Below”
Expected Result
I would expect that disabling an Item Placer device would:
- Hide the Mesh and any other visual component of the item placer from the world.
- Make the Item Placer non-interactable and therefore non-functional
Observed Result
Each of the placed item_placers (each of which only has 1 item in its item list–and each of which is a weapon), are clearly visible in game as well as the rarity VFX of the associated weapon. However, interaction appears to be disabled. No Interact text appears when looking at the weapon mesh, pressing the interact button does nothing, and the mesh and item placer appear to be immune to damage. Hitting the weapon meshes with a pickaxe appears to do nothing.
Platform(s)
windows
UEFN 29.10
Additional Notes
Sample Verse
ItemPlacerThingy := class(creative_device): @editable WeaponItemPlacers:[]item_placer_device := array{} OnBegin<override>()<suspends>:void= for (WeapItemPlacer:WeaponItemPlacers): WeapItemPlacer.Disable() Print("Disable") #Observed print statments on every testing attempt, so this code path is executed successfully. return
Addendum: Also observed in testing that the “Show Rarity Effects” toggle still appears to do nothing. Setting it to false appears to have no effect on the rarity effects showing on the meshes.
1 post - 1 participant