Actor Selection Causes Lag

Hey Guys!

Basically, I have created an actor that calculates a grip space in the world.
It’s very fast, and runs really smoothly in game.

Even in editor, when I’m just working away, it is still smooth.
Yet the second I select it, INSTANT frame rate drop. From 120 to 16.

Would it be because of the memory being accessed by the Editor?
I’m not sure what the problem is.

Thanks Guys!

Check your logs… It’s possible that whatever you’re doing after the selection could be causing a problem. I experienced a similar issue where I was drawing to a Canvas when selecting an Actor, but I was doing the drawing outside of the DrawHUD update and was getting lots of log output that was affecting performance pretty dramatically.