Alot of spline meshes cause massive framerate drops

Nope, do you have 400 splines mesh
directly in the angle of the viewport?

I just gave it a quick test, with 13 objects, 36 spline meshes each (468 SMs in total / 96tris each / 2-sided, additive material).

If they’re not being updated my fps sits around 270 whether I see them or not (yes, all of them - never noticed any impact). When everything starts moving during a Timeline sequence - the spline points are redistributed, the tangents recalculated and SMs reshaped, I lose around 20% - quite a big impact, yes but I’ve done no optimisation here yet.

edit: To give you a rough idea of what I’m talking about, the concentric circles here are the splines with their own respective SMs:

They are created dynamically at the beginning of the game. Previously I tried spawning them completely on the go but that brought everything to its knees. Instead, they are now alive all the time and either sit pretty or stay hidden.

While measuring everything in FPS is not really healthy and I should have given you ms, it does paint a half-decent picture of things working rather smoothly.

My question to you is: are you doing something to the spline meshes during tick, as in constantly updating / respawning them? Perhaps you’re hitting the limits of your PC’s performance. My machine has a fairly old GPU - 7970 and the second gen quad core. However, if you’re trying to do it on a laptop, I can easily see it impacting performance quite dramatically.

1 Like