ASSERT FAILED: Picker.getSelection:param 'rect' is deprecated, use 'x, y, width, height' instead.

I am trying to do the entity picking, but it keeps returning this error, even in the tutorial project. How do I fix it?


https://playcanvas.com/editor/scene/440138

Sorry about it, I fixed the project, fork it again and all should work.

2 Likes