TypeError: cannot read property 'enabled
Hello! if anyone can help me out, that would be a huge help with work!
I'm getting this error while trying to submit and can't find a way to fix it.
However, if I double tap my filter, the Filter reads the script properly (technically works after double-tapping)
20:18:01 [Scenarium] TypeError: cannot read property 'enabled' of undefinedat [anon] (paint2.js:4) preventsyield
If the script works even with the error then don't worry about fixing the error it does that sometimes, some of my scripts get errors and still work
Hi Josh,
In the Inspector panel, do you have your object listed in the paint2 field? It seems like script.paint2 is undefined, so you can't set it to enabled.
If you are still having issue, can you share with us the project for us to take a look?
Thanks,
Jonathan