Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy Refresh hierrarchy heavy on profiler
#1
Hi,

got several calls, all taking a large amount of resources according to the profiler : 

CurvySpline._RefreshHierarchy --> List.Sort

My game is always getting laggy at this call, kind of problematic.

Seems that this line in CurvySpline.cs is the culprit : 


        mControlPoints.Sort((a, b) => string.Compare(a.name, b.name));

Is there a workaround ? Tried to comment this line, but obviously nothing works anymore Smile
Reply
#2
There is no easy fix for v1.61. In 2.0 refreshment mechanism and hierarchy syncing is completely rewritten, so this will get fixed.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Generator Exception niek352 2 7 07-14-2022, 02:59 PM
Last Post: niek352
  On<Before,>Refresh events not called for Input modules tairoark 1 7 06-05-2022, 03:45 PM
Last Post: _Aka_
  Curvy 8.2.0 is live _Aka_ 0 5 04-26-2022, 02:09 PM
Last Post: _Aka_
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 13 04-22-2022, 09:00 PM
Last Post: _Aka_

Forum Jump: