Significant performance decrease after patch

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Summary

I’m generating a voxel world;

Before this patch SpawnProp was faster than after the patch.

Steps to Reproduce

Generate a large amount of props from Verse.
(Optimize as much as you want)
Watch performance decrease significantly.

Expected Result

~7600 objects should be able to spawn with relatively little performance loss in ~15 seconds

Observed Result

~7600 objects spawn after a significant amount of performance loss and time

Platform(s)

PC

The status of FORT-736315 incident has been moved from ‘In Testing’ to ‘Closed’. Resolution Reason: ‘Fixed’

I am here to vouch for this post. Both me and Donny have our own implementation of Noise, specifically Perlin Noise with Fractal Brownian Motion. Speaking for myself, my implementation in Verse utilizes inspiration from different resources online, there are parts I don’t understand completely, but one thing I do understand is that because of the absence of bitwise operators such as ‘&’ sampling noise from systems like this already has its drawbacks if the digests ‘Mod’ function implementation doesn’t have certain optimizations.

I am working on something that isn’t Voxel based, but it does generate and spawn props in a similar function and I too noticed this performance drawback. In my case, since the patch it takes twice as long.

2 Likes

Same issue here, I’m spawning player footprints on a loop and the SpawnProp() call takes more time to compute depending on the total spawn count since the beginning (eventhough 99.99% of them were disposed)

I tried to enable/disable “Is Spatially Loaded” but it doesn’t change anything, also I tried using an empty prop and the results are the same

The function takes 1ms to compute at the beginning and after spawning a bunch it proportionally goes up to 20/30ms

What’s also funny is this incremental lag can reset and start again from 1ms, but then it starts gradually lagging again

image

2 Likes

Performance issues with SpawnProp have returned again rendering all my world generation based projects unplayable and making it impossible to succesfully release the current project I’ve worked on for a while.

I hope to see this prioritized as a lot of projects already rely on this particular tool and many other ideas have essentially been impossible to pursue due to existing issues.

2 Likes

We’ve been having issues with SpawnProp too. We use it heavily across our experiences. Depending on how often it’s triggered, it can degrade session performance within 15-30 minutes. We are making heavy use of the Dispose function to clean up spawns after they aren’t needed. Previously this worked great - we don’t know the exact version it started to degrade, but was somewhere around a 29.xx release and seems to have gotten worse with newer releases.

1 Like

This is still an issue, an empty map makes the server lag (29 TPS) after 14k props (even if those get disposed)

Thanks for the reports and votes here. We’re working on a fix for a future update.

2 Likes