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.