Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2019.4.29f1

2020.3.13f1

2020.3.21f1

2021.1.10f1

2021.2.0a18

Issue ID

1376488

Regression

Yes

Performance degrades when using GetComponents(List<T> results)

Scripting

-

How to reproduce:
1. Open the user's attached project
2. Open scene Test
3. Press the Play button and observe the Console

Expected result: logged execution time of GetComponents is around 100ms
Actual result: logged execution time of GetComponents varies from around 500ms to over 1200ms

Reproducible with: 2019.4.29f1, 2019.4.32f1, 2020.3.13f1, 2020.3.22f1, 2021.1.10f1, 2021.1.23f1, 2021.2.0a18, 2022.1.0a1
Not reproducible with: 2019.4.28f1, 2020.1.0a1, 2020.3.12f1, 2021.1.0a1, 2021.1.9f1, 2021.1.24f1, 2021.1.28f1, 2021.2.0b14, 2021.2.1f1, 2022.1.0a10, 2022.1.0a14

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a6

Add comment

Log in to post comment