Post

Replies

Boosts

Views

Activity

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?
1
0
136
Jun ’25
App-Clip Network Error Code=-1004 with Network Link Conditioner
when trying to connect to our server - I get an error which occurs only in the app-clip: Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." more specifically - I get this error when trying to simulate a slow connection with Network Link Conditioner (LTE / 3G). it only happens on Network Link Conditioner , and only in the app-clip: when I disable the Network Link Conditioner it starts working again. I receive the error quite fast, so it's not a time-out issue. things I've tried (and didn't help): increase time-out period reduce the network requests to 1 at the time. set AllowsArbitraryLoads to true full description of the error: Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=65, NSUnderlyingError=0x2826aff00 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi, _kCFStreamErrorCodeKey=65, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3D0E9D26-B6BE-41C9-9D97-C61F6E71DBE8>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <3D0E9D26-B6BE-41C9-9D97-C61F6E71DBE8>.<3>" ), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=<<serverAddress>>, NSErrorFailingURLKey=https://<<serverAddress>>, _kCFStreamErrorDomainKey=1})
0
0
616
Aug ’24