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
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
This is a duplicate of issue #1167380