HoverEffectStyle in visionOS 26.0

This is no longer highlighting my entity when looking at it:

RealityView { content

let hoverComponent = HoverEffectComponent(.spotlight(
                                        HoverEffectComponent.SpotlightHoverEffectStyle(
                                            color: .white, strength: 2.0
                                        )
                                    ))


entity.components.set(hoverComponent)
  • The entity is in a window. The same code works in an immersive view.
  • Collision Component and Input type are set in RCP.
  • It's also stopped working on my published app (built under visionOS 2.x) using my visionOS 26 device.
  • If I use a 2.x simulator, it works.

Is this a bug or is there something I'm missing?

Thanks.

Hi @Appyou234,

This is unexpected. Could you please file a feedback at https://feedbackassistant.apple.com with as much detail as you can?

Once posted could you put the number here so I can keep track of it?

Thanks!

hi @Vision Pro Engineer

I have submitted FB20587228 (HoverEffectStyle in visionOS 26.0). I included a quick sample project.

Upon further testing, it seems that the hover effect is not working in 26 if the entity is in front of the window (from the user's perspective).

If I reposition the user's view so that the window is no longer behind the entity, the hover effect works.

Thanks

HoverEffectStyle in visionOS 26.0
 
 
Q