Today I tried to add a particle system in my pet project.
However, I was not able to change color in inspector. Moreover, when I edit scale curves for particle system, color goes transparent by itself.
I have a barrage of error messages in console:
picker:gradient:set (editor.method error)
editor.js:17882 TypeError: Cannot read property 'createLinearGradient' of null
at ColorPicker._generateGradient (editor.js:85437)
at ColorPicker.set (editor.js:85541)
at ColorPicker.set (editor.js:85584)
at selectAnchor (editor.js:85914)
at setValue (editor.js:86140)
at editor.js:86287
at Editor.call (editor.js:17879)
at CurveField.<anonymous> (editor.js:54912)
at CurveField.Events.emit (events.js:57)
at CurveField._setValue (editor.js:7935)
I would go and make a pull request or issue on github, but I understood that editor is not open sourced
Solution: Turned off Webgl Insight browser plugin.
It shouldn’t, it might be a combination of your GPU/osx drivers though the error message you posted above is more of a CPU/logic error instead of a graphical one.
Can you try and fork/play with the default particles tutorial projects and see if you get the same error?
Figured it out. Looks like some kind of problem with local caches.
It works fine on firefox and even in new incognito window in chrome. I cleand my cache but it still not working in the old window… So it’s totally something with my local software.