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
Brick Extending Curvy to make a Hallway editor. JacobSL 5 395 02-13-2023, 09:29 AM
Last Post: _Aka_
  Curvy does not like Unity 2021.3 (Attribute Conflicts) KasimirBlust 2 7 01-27-2023, 09:23 AM
Last Post: _Aka_
Lightbulb In Game Roads - Curvy Generator Prefab? etoreo 3 9 01-05-2023, 09:16 AM
Last Post: _Aka_
Information Curvy 8.4.0 is live _Aka_ 0 3 12-13-2022, 05:27 PM
Last Post: _Aka_

Forum Jump: