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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
This is a duplicate of issue #1167380