Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Summary
The Memory Calculation result seems to make no sense for Verse Devices. In big projects I had some devices with little functionality take 15.000 memory, while some other devices with much more lines of code and functionality take much less memory. I also can’t seem to reduce the memory usage of a device by deleting the verse code. The memory remains occupied.
Steps to Reproduce
• Use any Verse Device, like this one: https://dev.epicgames.com/community/snippets/dLk5/fortnite-custom-afk-device
• Do Memory Check - see screenshot
• Remove all the content from the verse script, so it's an empty class without any imports - see screenshot
)
• Delete the Verse Device from the world in UEFN
• Restart Fortnite + UEFN
• Place the Verse Device into the editor world again (now without any functionality)
• Do Memory Check again - see screenshot
Expected Result
The device should use much less memory after we removed all the functionality.
Observed Result
The device uses the same memory as before.
The memory calculation seems to make no sense for Verse devices. Some small devices can use 15.000 memory, while devices with much more functionality use less.
Platform(s)
PC
Additional Notes
Note: This is just an example that is easy to reproduce. I had the same problem with devices that used up to 15k of memory for a single device. And after deleting all the code, it stayed at 15k memory as well.