Description

RHIUpdateTexture2D uses the wrong size for the per-row memcpy, which means we can't support passing in an offset within a larger image in the SrcData pointer (doing so will result in an access violation). This is supported on other RHIs.

See discussion in the UDN thread for further info and proposed fix.

Steps to Reproduce

Repro involves a adding supporting code which calls this function in a particular way. Not sure any of our code does this. However, the licensee confirmed that the change we made fixed their issue.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-41059 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.14.3
Target Fix4.16
Fix Commit3271964
CreatedJan 24, 2017
ResolvedJan 26, 2017
UpdatedApr 27, 2018