Forum

Uncaught TypeError: Cannot read property '_physics' of undefined

20 July 2017 12:04
Hi guys!.

Does anyone know why this error occurs? Thank you

Uncaught TypeError: Cannot read property '_physics' of undefined


20 July 2017 12:55
I don't think there is a way to know without seeing all the code. Not know anything about it, the first thing I would do is find all the occurrences of _physics. Then check the API to see if a function parameter is not being used properly.
Could be a scope error if _physics is defined in one scope and read in another.
26 July 2017 12:09
Hi, looks like an engine bug. Can you provide us an example to reproduce?
 
Please register or log in to leave a reply.