10-05-2021, 04:21 PM
Hi there,
We're noticing some pretty significant performance overheads from CurvyConnections. It looks like regardless of the auto create or auto enable/disable settings on the pools, we have about 1000 CurvyConnections getting spawned on startup for pool usage. Each of these seems to be running Update, FixedUpdate, LateUpdate and EditorUpdate (the last only in Editor obviously).
Our performance hit from this is not insubstantial. Below is a sample DeepProfile:
null
Keep in mind Curvy splines exist in the scene, but are completely unused at this point. No transforms are being changed and no spline methods are being called. I have checktransform off on all splines, but the connections seem to be completely separate and I haven't found any settings that can successfully optimize them. ^ The above deep profile is also only showing the FixedUpdate, but the Late and regular Updates shouldn't be forgotten.
Can anybody give some advice on what we can do to lessen this performance impact?
We're noticing some pretty significant performance overheads from CurvyConnections. It looks like regardless of the auto create or auto enable/disable settings on the pools, we have about 1000 CurvyConnections getting spawned on startup for pool usage. Each of these seems to be running Update, FixedUpdate, LateUpdate and EditorUpdate (the last only in Editor obviously).
Our performance hit from this is not insubstantial. Below is a sample DeepProfile:
null
Keep in mind Curvy splines exist in the scene, but are completely unused at this point. No transforms are being changed and no spline methods are being called. I have checktransform off on all splines, but the connections seem to be completely separate and I haven't found any settings that can successfully optimize them. ^ The above deep profile is also only showing the FixedUpdate, but the Late and regular Updates shouldn't be forgotten.
Can anybody give some advice on what we can do to lessen this performance impact?