Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ScanConnections() causes heavy load in play mode, even with all Curvy objects removed
#2
Hi
That method is used to build the list of game objects with connections for editor UI purpose (to add a gizmo next to them). So if you deactivate it, besides not having that gizmo anymore, nothing will break.
You can deactivate the automatic call to that method by going to CurvyProject.cs, and comment the following line
EditorApplication.hierarchyChanged += ScanConnections
In order for me to enhance the performance of that method, can you please help me by providing me one or more of the following:
- A reproduction case
- A screenshot of the profiler window showing the call to that method
- The number of game objects you have in your scene, the number of control points, and the number of connections.

Let me know if my work around didn't work
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: ScanConnections() causes heavy load in play mode, even with all Curvy objects removed - by _Aka_ - 07-22-2021, 07:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp

Forum Jump: