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
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Add comment