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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
This is a duplicate of issue #1167380