RealityKit VideoMaterial renders pink on iOS 18

our app is live, and it appears that since the ios 18 update - the VideoMaterial renders pink / purple color instead of the video (picture attached). the audio is rendered properly. we found that it occurs on old devices: iPhone 11 & iPhone SE 2020.

I've found this thread of Andy Jazz on stackoverflow:

Steps to Reproduce:

  • Create a plane for the video screen.
  • Apply a VideoMaterial using AVPlayerItem.
  • Anchor the model entity to an ARImageAnchor.

Expected Outcome: The video should play as a material on the plane in RealityKit.

Actual Outcome: On iOS 18, the plane appears pink, indicating the VideoMaterial isn’t applied.

What I’ve Tried: -Verified the video URL is correct. -Checked that the AVPlayerItem and VideoMaterial are initialised correctly. -Ensured the AVPlayer is playing the video.

I also tried different formats (mov / mp4 / m4v), and verifying that the video's status is readyToPlay.

any suggestions?

Answered by DTS Engineer in 841959022

Hello,

Thank you for mentioning! This looks like a bug affecting older iPhones.

Please send us a bug report using the Feedback Assistant.

Hello,

Thank you for mentioning! This looks like a bug affecting older iPhones.

Please send us a bug report using the Feedback Assistant.

RealityKit VideoMaterial renders pink on iOS 18
 
 
Q