We are having this issue on all of our projects, we can only fix it with previous version from editor selection. It seems like script component doesn’t have “once” function. How we can fix this?
We have this issue since the last update, I hoped that it would get fixed quickly, but it still is the same.
any idea what’s going on here @Mark_Lundin ?
Hey @commention, sorry you’re getting this issue. Do you have a simple reproduction of the problem and we can take a look
I don’t really know exactly, but I can give access from projects that has it and you can see it from there @Mark_Lundin , can you share PlayCanvas username if that’s okay with you?
yeah sounds good. You can DM me if you need to
So the MaterialShader.js
script is overriding the once
class member. If you rename that member to something else it should solve your issue 
1 Like