0
Fixed

Object dragging performance issue

gabin.deboulogne 4 months ago updated by Lazlo Bonin (Lead Developer) 3 months ago 5

Hi,

I just got peek and i noticed a performance drop when dragging scene objects with the move tool while the scene toolbar is active

The profiler confirms a huge performance difference when the scene toolbar is on

With scene toolbar:

Whitout the scene toolbar:

Notice how Application.Message.MouseMove takes roughly 3 times longer when the scene toolbar is active 

Perhaps hidding the scene toolbar while an object is dragged could fix the problem

Unity Version:
2020.1.5f1
Peek Version:
1.3.0

I noticed this performance issue appears when the toolbars moves

This is really inconvienient, i would make an option to hide the toolbar while an object is modified to fix this

Escalated

Hi Gabin,

Thanks for the report, I'll have a look soon and try to optimize away the root cause of the performance drop.

In the mean time, you can toggle the Peek toolbar on and off by pressing the "B" key (remappable in the settings).

Need More Information

Hi Gabin,

Sorry for the very late reply on this. 

I've profiled this and cannot reproduce such a huge lag spike on test scenes. Could you please enable Deep Profiling and send me either a deep screenshot, or better yet, a profiler sample export?

Thanks!

Fixed (Unreleased)

Hi Gabin,

Even though I can't reproduce the spike on my end, I spent a good deal of time optimizing the scene view for Peek v.1.3.2. Let me know if it fixes your issue when it releases.