playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.69k stars 1.36k forks source link

[BUG] Uncaught RangeError: Maximum call stack size exceeded #6976

Closed kketan707 closed 1 month ago

kketan707 commented 1 month ago

Description

Colliding two compound colliders with kinematics giving error Uncaught RangeError: Maximum call stack size exceeded

I tried to simulate the issue

LeXXik commented 1 month ago

Needs to be verified against https://github.com/playcanvas/engine/commit/6f2f8cb985831e2c376aa3f6dac1178be0ec9fde

mvaligursky commented 1 month ago

I think it happens with that fix as well .. I created a preview engine release from main_v1 containing this fix, and this still fails: https://launch.playcanvas.com/2075251?debug=true&use_local_engine=https://code.playcanvas.com/playcanvas-preview.js