Sharing what I know about a stubborn line artifact during playback

On occasion, I’ve run across a depth artifact in Unity that looks like a line of shelf in my asset when viewed from the side. This is a known issue and I just wanted to share the work around here.

The Cause:
Color space conversions and video compression that has been applied to the depth.

The Solve:
Use AVPro as your video player and make sure that hardware decoding is disabled. This isn’t ideal, as this might decrease performance in playback, but it will resolve the visual artifact.

Status: We are currently researching how to reduce these depth artifacts with hardware accelerated video.