Search Issue Tracker

Fixed

Fixed in 2021.3.12f1, 2022.2.0b11, 2023.1.0a14

Votes

2

Found in

2021.3.8f1

2022.2.0b3

2023.1.0a4

Issue ID

UUM-11526

Regression

Yes

[Linux] C# Reflection performance is 50 to 60 times slower

-

How to reproduce:

  1. Open the user-attached project (UnityReflectionTest.zip)
  2. Make sure the “ZenjectPerformanceTest“ scene is open
  3. Enter Play Mode
  4. Observe the time displayed in the Game view

Expected result: the time is about 0.3 to 0.5s

Actual result: the time is 25 to 30s

Reproducible with: 2021.3.8f1, 2022.2.0a2, 2022.2.0b3, 2023.1.0a4

Not reproducible with: 2020.3.38f1, 2021.1.0a10

Could not test with: 2022.1.0a1 (the Editor didn't open and kept crashing)

Reproducible on: Ubuntu 20.04

Not reproducible on: Windows 10

  1. Resolution Note (fix version 2023.1.0a14):

    Improved performance when checking to ensure that there is enough room on the stack available on Linux.

    Fixed in 2023.1.0a15

  2. Resolution Note (fix version 2022.2.0b11):

    Improved performance when checking to ensure that there is enough room on the stack available on Linux.

    Fixed in 2022.2.0b11

  3. Resolution Note (fix version 2021.3.12f1):

    Improved performance when checking to ensure that there is enough room on the stack available on linux.

    Fixed in 2021.3.12f1

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.