Vision Pro renderingGroupId issue

Hello,

It seems that on Vision Pro, anything that is out of “renderingGroupId” = “0” is not rendered on the right eye at all.

I have created a playground with 2 basic objects which if i try to view in a immersive mode are not fully visible. On the left eye i can see the both objects, while on the right eye i can only see the ground object.

Here is the playground: Babylon.js Playground

I am currently using Vision Os 2.1.

This does not happen on Oculus.

Any idea on how to fix this?

cc @RaananW

Was it fixed on 2.2 beta?

Hey!

Unfortunately i don’t have access to the beta at the moment, but i doubt it since it was like that even before 2.1.

I will try to get access to it, but here are their release notes: visionOS 2.2 Beta 3 Release Notes | Apple Developer Documentation, i cannot see anything related :thinking:

Sadly, it’s still an issue with the beta. It seems like there was a separate issue with photo domes that was fixed, but I’m not sure if that was related.

I am wondering if there is an equivalent thing we can test in another library or just plan WebGL to see where the issue might be coming from.

Hello again!

Any updates on this one?

Rendering groups are really a needed feature for rendering ui in general, it’s sad we cannot use it :smiling_face_with_tear:

Is there an alternative way of simulating these rendering groups to overlay things on top of eachother?

cc @docEdub

I’m investigating this now but it looks like an Apple issue to me so far since it doesn’t happen on Quest headsets.

Even in the left eye where the sphere is shown, there are depth issues on the VisionPro with the hand model being partially occluded even though the sphere is much farther away. This partial occlusion moves up and down with the headset at the vertical center of the eye/screen’s view, which may indicate there are some bugs that still need to be sorted out by Apple.

I’m trying some workarounds but not having any luck, yet.

1 Like

Please send a bug-report / feedback to apple about this here:

The more reports Apple gets about this, the more likely it is to get fixed soon.

Using scene.setRenderingAutoClearDepthStencil(1, false); works around the issue on my AVP.