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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.1):
Fixed in: (12.0.0) 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in: (12.1.4) 2021.2.11f1
Resolution Note (fix version 2020.3):
Fixed in: (10.7.0) 2020.3.23f1