SceneKit & AVPlayerLayer only renders movie in simulator, not on device

Originator:graham
Number:rdar://22805939 Date Originated:22-Sep-2015
Status:Closed Resolved:Yes
Product:iOS Product Version:9.0
Classification:Bug Reproducible:Always
 
Summary:
I have a .mp4 movie. I have a simple SceneKit scene with a sphere. I create an AVPlayer & AVPlayerLayer and assign the layer to the sphere's material, which should show the movie on the sphere's surface. Works great in simulator, blackness on device.

(sample app supplied)

Comments

This issue behaves as intended based on the following:

AVPlayerLayer are rendered out of process on the device and can’t be used as a texture. Please use a SKVideoNode for this instead.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!