createScreenshot seems to be working in STABLE, but broken in LATEST?
to reproduce the error:
Run the above playground example in STABLE (works fine) and LATEST, which gives:
Uncaught TypeError: Cannot read property ‘toDataURL’ of undefined
at Function.e.EncodeScreenshotCanvasData (babylon.js:16)
at Function.e.CreateScreenshot (babylon.js:16)
at eval (eval at (index.js:556), :31:27)
at e._renderLoop (babylon.js:16)