Post

Replies

Boosts

Views

Activity

Pink Screen with VideoMaterial in ARKit
Hi everyone, I'm developing an ARKit app using RealityKit and encountering an issue where a video displayed on a 3D plane shows up as a pink screen instead of the actual video content. Here's a simplified version of my setup: func createVideoScreen(video: AVPlayerItem, canvasWidth: Float, canvasHeight: Float, aspectRatio: Float, fitsWidth: Bool = true) -> ModelEntity { let width = (fitsWidth) ? canvasWidth : canvasHeight * aspectRatio let height = (fitsWidth) ? canvasWidth * (1/aspectRatio) : canvasHeight let screenPlane = MeshResource.generatePlane(width: width, depth: height) let videoMaterial: Material = createVideoMaterial(videoItem: video) let videoScreenModel = ModelEntity(mesh: screenPlane, materials: [videoMaterial]) return videoScreenModel } func createVideoMaterial(videoItem: AVPlayerItem) -> VideoMaterial { let player = AVPlayer(playerItem: videoItem) let videoMaterial = VideoMaterial(avPlayer: player) player.play() return videoMaterial } Despite following the standard process, the video plane renders pink. Has anyone encountered this before, or does anyone know what might be causing it? Thanks in advance!
2
0
402
Aug ’24
App Clip Not Appearing After 5 Days on App Store Connect
Hi everyone, I recently issued an App Clip on App Store Connect, but it still hasn’t appeared, even though it has been 5 days. Typically, it only takes about a day for the App Clip to become available. I’ve double-checked all the configurations, and everything seems to be set up correctly. Is there a known delay or issue that could be causing this? Any advice on steps I can take to resolve the situation or if there’s something I might be missing? Thanks in advance for your help!
3
1
435
Sep ’24