Is getPixels method from ProceduralTextureProvider is not available on device?

Options

Hi,
I was playing with ProceduralTextureProvider and faced issue that Lens runs as it expected in Lens Studio, but when I send it to device it crashes with the next error "Error running Lens. Please try again.
[Scenarium] TypeError: newTex.control.getPixels is not a
function. (In 'newTex.control.getPixels(0, 0, width, height,
newData)', 'newTex.control.getPixels' is undefined) in
Scripts/LocationContentController.js on line 463 at colum 41

Stack trace:
serializelmg@Scripts/LocationContentController.js:463:41
@Scripts/LocationContentController.js:295:41
forEach@[native code]
saveContentltems@Scripts/
LocationContentController.js:272:31
@Scripts/LocationContentController.js:116:29
forEach@[native code]
onTapEvent@Scripts/LocationContentController.js:77:29

Am I doing something wrong or getPixels not available because data privacy?

Answers