Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2018.2.0f2

Issue ID

1065126

Regression

No

UnsafeUtility.MemCpyStride's argument sourceStride increments the destination pointer instead of the source pointer

Scripting

-

Repro steps:
1. Open QA attached project "repro_1065126"
2. Enter Play Mode
3. Observe the Console

Expected: The 4th argument of MemCpyStride increments the source's pointer instead of the destination's pointer and the output is: "0 1 4 1 1 1 1 1 1 1 1"
Actual: The 4th argument of MemCpyStride increments the destination's pointer instead of the source's pointer and the output is: "0 1 1 1 1 0 1 1 1 1 1"

Reproducible with: 2018.2.14f1, 2018.3.0a3
Not reproducible with: 2018.3.0a4, 2018.3.0b8, 2019.1.0a7

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.