KSP-RO / ProceduralParts

A continuation of StretchySRBs, which is a continuation of StretchyTanks
71 stars 79 forks source link

Looks like serious loop in loading to pad #200

Closed NathanKell closed 5 years ago

NathanKell commented 8 years ago

@ItMustBeACamel I ran this in the Unity editor (and profiled it) and it looks like you're hitting loops where each dragcube render triggers another. I have 13 proc parts on my ship. I have 338 render calls. That implies it's 2x n^2 for proc parts, which explains the slowdown people have reported.

Let me know if you are busy and need me to work on things; RO etc depend heavily on this as you know and sadly things break as they are.

NathanKell commented 8 years ago

Yeah, um, SendEvent sends it to all parts in this case if you don't check stuff.