Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvyConnection Update Overhead
#5
(10-06-2021, 07:34 AM)_Aka_ Wrote: I will take a deep look at all this later today. Until then, know that in the pool script, there is a Threshold parameter that defines the maximum number of elements to keep. If this didn't help, is it possible for you to send a reproduction case (scene and the scripts needed by that scene) with the issue?

In general, I don't recommend to use the pool components such as ComponentPool, which are part of the FluffyUnderware.DevTools third party library. They do the work, but they are not intuitive to use in my opinion. I am sure there are way better pools from pooling assets on the store. Curvy Splines uses the pools from DevTools for historical reasons, but for new code such as yours, I would avoid using them.

I'll try playing with the Threshold, thanks. We aren't using the Pool components at all, I'm just seeing that the CurvyGlobal object is utilizing them and was trying to change the parameters there. We have our own custom ObjectPooler for our own purposes.
Reply


Messages In This Thread
RE: CurvyConnection Update Overhead - by _Aka_ - 10-05-2021, 09:55 PM
RE: CurvyConnection Update Overhead - by _Aka_ - 10-06-2021, 07:34 AM
RE: CurvyConnection Update Overhead - by wingednosering - 10-07-2021, 05:13 PM
RE: CurvyConnection Update Overhead - by _Aka_ - 10-07-2021, 05:53 PM
RE: CurvyConnection Update Overhead - by _Aka_ - 10-07-2021, 07:31 PM
RE: CurvyConnection Update Overhead - by _Aka_ - 10-07-2021, 07:42 PM
RE: CurvyConnection Update Overhead - by _Aka_ - 10-13-2021, 05:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CG documentation update _Aka_ 0 243 06-19-2026, 11:13 PM
Last Post: _Aka_
  Update and Black Friday sale _Aka_ 2 2,108 11-23-2024, 11:58 AM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 2,674 01-25-2023, 01:58 PM
Last Post: _Aka_
  I want SetLocalPositions to update all CPs at once. yanke 3 2,536 05-30-2022, 02:50 PM
Last Post: _Aka_

Forum Jump: