[SOLVED] Uncaught TypeError: Cannot read property 'dirty' of undefined


#1

Hello, I am very confused on why I’m getting the error ‘Uncaught TypeError: Cannot read property ‘dirty’ of undefined’. If I check the console (which the debugger told me to), it says that the error is coming from ‘playcanvas-stable.dbg.js’.

I am not sure what that is, but it can’t be my fault because the word ‘dirty’ is not in any place of my code. Any help is appreciated!


#2

When you go through the error callstack, is there any code of yours there? If so, can you post the code please?

Or even better, post a project link for people to look at?


#3

For some reason this error is not occurring anymore. What’s strange is that I took a break after the error was happening and now it’s fixed? Thanks for the help anyway! :smiley: