There is significant slowdown when using the spline tools with a significant number of splines in the scene. Upon profiling the editor, it's noticed that the GC allocs inside the EditorUpdate delegate calls in the various curvy scripts grinds the editor to a halt.
Whatever seems to be causing the editor slowdown fortunately doesn't seem to affect in game performance but this makes it night unusable to go into the scene view.
Any ideas of what the cause might be here? A deep profile with call stacks simply says there's a GC alloc but there's a lot of code to sift through. Any help is much appreciated!
EDIT: Wanted to add a few details, there are no generators in the scene but there is essentially a 20x20 grid of splines with more splines connecting the diagonals of each grid square (so, that's a LOT of splines).
Whatever seems to be causing the editor slowdown fortunately doesn't seem to affect in game performance but this makes it night unusable to go into the scene view.
Any ideas of what the cause might be here? A deep profile with call stacks simply says there's a GC alloc but there's a lot of code to sift through. Any help is much appreciated!
EDIT: Wanted to add a few details, there are no generators in the scene but there is essentially a 20x20 grid of splines with more splines connecting the diagonals of each grid square (so, that's a LOT of splines).