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
  New User Looking for Advice on Choosing Curvy Splines ravigupta 1 175 08-21-2026, 09:45 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 7,184 07-13-2025, 07:11 PM
Last Post: _Aka_
  I have to refresh generator manualy :( GameDeveloperek4123 4 3,529 10-07-2024, 05:36 PM
Last Post: _Aka_
  Invisible Gizmos In Latest Curvy Splines orrenravid1 1 1,836 06-11-2024, 07:36 AM
Last Post: _Aka_

Forum Jump: