Search Issue Tracker
Fixed in 2018.3
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
- [Linux Hub] A new instance of the Hub does not have a Taskbar icon
- Mesh Inspector becomes slow to use when inspecting a large Mesh with Blend Shapes
- [Metal] GfxDeviceMetal::CreateComputeProgram does not check inputs
- The Modes button of the the SerializedField MinMaxGradient is not clickable in the Inspector when indentLevel is more than 0
- Input.GetKey for Left Shift returns true when Right Shift is held down and Left Shift is pressed (and vice versa)
Add comment