RealityKit/ARKit Environment Texturing broken on iOS 18

Devices running iOS 18 using RealityKit do not seem to receive lighting supplied via ARKit Environment Texturing (https://developer.apple.com/documentation/arkit/arworldtrackingconfiguration/2977509-environmenttexturing). Instead just a default IBL is used by RealityKit.

This happens with RealityView as well as ARView. It also happens when I explicitly opt-in to environment texturing:

let worldTrackingConfig = ARWorldTrackingConfiguration()
worldTrackingConfig.environmentTexturing = .automatic
arView.session.run(worldTrackingConfig)

Even the Xcode AR Template has this issue.

I'm attaching a screenshot of the sample app running on iOS 18 where it's broken and from iOS 17 where it works as expected. I hope this can get resolved quickly since I see it as a major regression.

Feedback ID: FB15091335

UPDATE: It works on my older iPhone XS (iOS 18 22A5282m)

Broken on iPad Pro (11-inch) (3rd generation) (iPadOS 18.0 (22A5350a))

Maybe it's related to LiDAR?

Thank you!

iOS 17 (works):

iOS 18 (broken):

Found a workaround! Setting

environmentTexturing = .manual

brings back working environment texturing!

This is really bad. Anything we can do for loading usdz files with the links? https://developer.apple.com/documentation/arkit/arkit_in_ios/previewing_a_model_with_ar_quick_look#3263412

RealityKit/ARKit Environment Texturing broken on iOS 18
 
 
Q