PickingInfo.faceId behaves differently in bjs v4.1


I came across this issue when switching from 4.0 to 4.1. Here is the playground


I have created a basic box and subdivided it into 6 subMeshes. I’ve added pointerMove event listener to log the pickingInfo faceId on hovering over the box.

The pickingInfo returns expected value in v4.0. But it gives just 0 or 1 on hovering over any facet in v4.1.
Is this the expected behaviour or am i missing something.

Also it works perfectly, when there is a single subMesh or in the preview release. Any help would be appreciated.

Thankyou :slightly_smiling_face:

Hello and welcome

It was indeed a bug in 4.1 that we got fixed for 4.2 (And I will recommend you directly jump into 4.2 as it is already dead stable ;))

Oh cool, thanks @Deltakosh😃