Furthermore, my PR did not modify any code related to the rendering of bounding boxes or the scene code related to bounding boxes, only ObjectRenderer (which did not support the rendering of bounding boxes until now, so this new code can’t be the problem), so it is difficult to understand why this could have broken your code…
I added a new method in the bounding box renderer that waits for everything to be ready before continuing. You can try using it and see if that helps
I can only show you an animated gif if you want to see the error. I drag a mesh from my library. Wthin the 8.22.1 version, it works perfectly and it does not work until.
version 8.22.1 :
version 8.22.3 and next :
The object under the mouse is an instancedMesh but it is the same thing with a mesh
In the second video, you can see in the inspector that the bounding box of the mesh is shown (the square next to the mesh is white) but the bounding box is not drawn.
I’ve seen that there’s a PR by @deltakosh (#16996) in the 8.22.3 concerning the BBox computation. May be there’s a link.