Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.1.0f2
Issue ID
1041305
Regression
No
[.NET 4.6] Unexpected GC allocations in List.AddRange
To reproduce:
1. Open the attached project (AddRange2.zip)
2. Open the SampleScene
3. Enter Play mode
4. Open the Profiler, search for "Repro" and observe that it allocates some bytes
Expected: List.AddRange doesn't allocate any bytes as it doesn't in .NET 3.5
Reproduced in 2017.3.2f1, 2017.4.4f1, 2018.1.0f2, 2018.2.0b5, 2018.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Add comment