Th following code was working in previous release (preview), rendering text on two lines:
new Text2D("AAA\nBBB", settings)
In current release (announced at 29 Jan) it doesn't work. It produces following exception:
Uncaught TypeError: Cannot read property 'offset' of undefined
at Text2DInstanceData.descriptor.set [as transformX] (http://localhost:63342/FirstSample/lib/babylon.canvas2d.js:8687:66)
at Text2D.RenderablePrim2D.updateInstanceDataPart (http://localhost:63342/FirstSample/lib/babylon.canvas2d.js:9337:29)
Without new line symbol:
new Text2D("AAABBB", settings)
it still works