piqnt / planck.js

2D JavaScript Physics Engine
http://piqnt.com/planck.js/
MIT License
4.87k stars 236 forks source link

setActive(true) throwing error in v1 beta 8 #257

Closed Article19 closed 1 year ago

Article19 commented 1 year ago

I have been developing in v1 alpha4 without issues. Swapped in v1 beta8 for a quick test and received the following error on a body.setActive(true) call:

TypeError: undefined is not an object (evaluating 's.aabb')

More details from the Javascript console:

This seems to be due to body.m_proxies being undefined. I retested in alpha4 and this was undefined there as well, but did not throw the error.