Raycaster no longer works, always returns zero intersections

The reason is that Raycaster now only casts against objects that have the same matching Layer (Object3D.layers).

So if your app uses layers, you now need to either

  • make sure Raycaster has the same layers as all the objects you’re raycasting against
  • or call raycaster.layers.enableAll() to have it operate with all layers (i.e. regardless of layer).
1 Like