I am getting an error with the latest BABYLON 2.3 (NuGet):
//var gn = this.getName;
//var cg = BABYLON.Mesh.CreateGround;
//totalLength, calculated elsewhere
//s === scene
this.field = cg(gn("field"), { width: totalLength, height: totalLength }, s);
Yield: Uncaught TypeError: Cannot read property 'addMesh' of undefined.
Stack trace:
babylon.js:5 Uncaught TypeError: Cannot read property 'addMesh' of undefined
i @ babylon.js:5
r @ babylon.js:11
i @ babylon.js:20
t.CreateGround @ babylon.js:12
r.CreateGround @ babylon.js:12
build @ gridiron.js:146
createScene @ TestFixture.html:79
(anonymous function) @ TestFixture.html:109
That I know of, I was not receiving the same error in 2.2.0.
I'll try downgrading and see if that makes a difference.