Constraint Details causes significant performance slowdowns

Currently there is a significant performance impact when the Constraint Details button is enabled

As it stands, there are ~5,500 attachments in Workspace – usually less than a dozen at most visible on screen at once if any.

Disabled:
image

Enabled:
image

Also highlights in workspace ignore DepthMode and show on top when enabled - maybe related?

3 Likes

I will be testing this with a far smaller number of attachments, but I should still see an impact:



I believe the issue is that the triangle count of the attachment is so high.

As you can see, I go from about 330 FPS to around 265 (it fluctuates quite a lot, but the images should be within that range).

When looking away from the attachments (so they are not in the viewport), I don’t have this issue and the FPS is above 300 and is around 325. Maybe I cannot reproduce it, or maybe it is because of the lack of attachments, but I don’t think this is a very significant performance impact, but this is with none on the screen. I do have some other types of constraints in workspace, but they seem to have no effect.

As for the highlights, I don’t know exactly why this issue occurs, but maybe somewhere in the engine it is considered a constraint. Affected highlights that are not visible on the viewport do not cause any performance impact whether constraint details are enabled or not in my case.

3 Likes

Thanks for the report! Just to confirm, we have a ticket filed in our internal database for this issue.