Search Issue Tracker

Fixed in 2019.3.X

Votes

0

Found in

Issue ID

1196706

Regression

No

[UIElements] StyleEnum is creating boxing allocations

--

-

StyleEnum<T> is making use of IConvertible to do comparison, this is allocating for simple equality check.
The equality check can be done many times per frame so it does add up a lot of garbage allocations.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.