Search Issue Tracker
Active
Votes
0
Found in
6000.0.64f1
6000.3.1f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-129943
Regression
No
Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
How to reproduce:
1. Create and open a new project
2. In the Package Manager, install the Collections and Mathematics packages
3. Import the “NativeListResizeTest.cs“ script into the project
4. Create a new GameObject in the Scene and attach the imported Script to it
5. Enter Play Mode
6. Observe the logs in the Console
Actual result: ‘Copied' and ‘Should copy' values don’t match (Copied number is almost always higher than ‘Should copy’ number)
Expected result: 'Copied’ and 'Should copy' values match
Reproducible in: 2023.1.0a1, 6000.0.64f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Capacity-size memory is copied instead of Length-size when using UnsafeUtility.memCpy()
- Console displays "SerializedObjectNotCreatableException: Object at index 0 is null" error during Unity theme change while "Tile Palette" window is opened
- Details are not shown when Error Message is still selected after changing Log Entry Count in the Console
- Disabling Unity VCS in Project Settings unfocuses the Project Settings Window
- Help box icon in "Tile Palette" window is blurry in both Unity themes
Add comment