'PointLight' is unavailable in xrOS

Hello

Although the documentation says PointLight is available for visionos (https://developer.apple.com/documentation/realitykit/pointlight) It doesn't work when I try to add a light

let light = DirectionalLight()

throws error : 'DirectionalLight' is unavailable in xrOS

Will lights be available later in visionOS RealityKit?

I'm dealing with this issue too! I've added the "Movie Studio Spotlight" 3D asset but can't figure out how to add a light source to make it look more realistic.

Any help here will be appreciated!

I can't use it too but in documentation says we should able to use it!

I see that the documentation has been updated to show that PointLight, DirectionalLight, and SpotLight are not available on visionOS. Does anyone know how to add a light source to a RealityKit scene on visionOS? I am working on a fully immersive experience and I need to add light from the sun to my scene, but I can't figure out how to do it.

'PointLight' is unavailable in xrOS
 
 
Q