Search Issue Tracker
Duplicate
Votes
0
Found in
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1175412
Regression
Yes
[IL2CPP] ParticleSystem.SetParticles generates unfreed allocations in IL2CPP builds
How to reproduce:
1. Build the attached project for iOS
2. Run the app on the device with Xcode allocations profiler (CMD + I > Allocations)
3. Keep pressing on the device screen
Actual result: ParticleSystem_CUSTOM_SetParticles() keeps generating unfreed allocations and memory usage grows.
Expected result: ParticleSystem_CUSTOM_SetParticles() doesn't leak memory allocations.
Reproducible with: 2020.1.0a1, 2019.3.0a12, 2019.2.1f1, 2019.1.14f1, 2019.1.0a1.
Regression introduced in: 2019.1.0a1.
Not reproducible with: 2018.4.6f1.
Tested with:
iPhone 7 (iOS 10.2)
VLNQA00272, Samsung Galaxy S10+ (SM-G975U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Notes:
- Unity Profiler doesn't show the leak
- Reproducible on PC Standalone, Android and iOS
- The leak happens in ParticleSystem_CUSTOM_SetParticles()
- Not reproducible with Mono backend
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
- [APV] Impossible to switch between multiple Baking Set when multiple scenes are loaded additively
- [Linux] Low project loading speed when using Ubuntu 24.10
- [VFX Graph] URP ShaderGraph integration issue with VFX and Fog.
- The Editor is slowed down when a Volume Profile with many Overrides is open in the Inspector window
- Lightmap "View" button is not symmetric and has an empty space
This is a duplicate of issue #1167380