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
#3
Thanks. The problem is produced because we have a large project with tens of thousands of objects in the scene (which makes a repro case hard to make). There are no curvy objects and no connections loaded, but this gets called all the time in edit and play mode even though we aren't using any curvy functions in play mode at all (we just use it as a nice tool for making static meshes)

I'll try to get you a profiler screenshot.

/edit basically you can't be calling FindGameObjectsOfType every frame, either at edit or run time, because in large scenes it's just going to always tank performance.
Reply


Messages In This Thread
RE: ScanConnections() causes heavy load in play mode, even with all Curvy objects removed - by bennett - 07-22-2021, 07:05 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: