Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X

Votes

1

Found in

2020.1.8f1

2020.3

2020.3.4f1

2021.1

2021.2

2022.1

Issue ID

1346028

Regression

Yes

[VFX] ApplyShader is called when Visual Effect Asset particles are not rendered and system is not called in Initial Event Name

Visual Effects

-

How to reproduce:
1. Open the attached project "VFXPerformance.zip"
2. Open "VFX Transparent.unity" Scene
3. Open Profiler window and in the Search section type "ApplyShader"
4. Press Play
5. Observe Editor Profiler

Expected result: no calls for ApplyShader when entering the Play mode when OnPlay is deleted from Initial Event Name from Inspector window
Actual result: 800 calls for ApplyShader when entering the Play mode when OnPlay is deleted from Initial Event Name from Inspector window

Reproducible with: 8.2.0 (2020.1.8f1), 10.5.0 (2020.3.13f1), 11.0.0 (2021.1.12f1), 12.0.0 (2021.2.0b2, 2022.1.0a1)
Not reproducible with: 7.6.0 (2019.4.28f1), 8.2.0 (2020.1.7f1)
Can't test with: 2018.4.35f1 (Project breaks)

  1. Resolution Note (fix version 2022.1):

    Fixed in: (12.0.0) 2022.1.0a10

  2. Resolution Note (fix version 2021.2):

    Fixed in: (12.1.4) 2021.2.11f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: (10.7.0) 2020.3.23f1

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.