Jump to content

Demo Error


Recommended Posts

Good afternoon, I was following the example of canvas 2d and I'm stuck with some demos that have problems (with the Babylon.js) and I came to report it.

Section https://doc.babylonjs.com/tutorials/using_the_canvas2d

All demos have the same fault, for example:

The simplest starting point would be created a ScreenSpace Canvas2D with a "Hello World!" text, here we go:

See it live in this playground - http://www.babylonjs-playground.com/#2AVSFH#35
Uncaught TypeError: e.Tools.getClassName is not a function
    at o.get [as modelKey] (babylon.canvas2d.min.js:4)
    at o.n._createModelRenderCache (babylon.canvas2d.min.js:7)
    at o.n._prepareRenderPre (babylon.canvas2d.min.js:6)
    at o.r._prepareRender (babylon.canvas2d.min.js:5)
    at n._prepareGroupRender (babylon.canvas2d.min.js:7)
    at n._updateCanvasState (babylon.canvas2d.min.js:11)
    at n._render (babylon.canvas2d.min.js:11)
    at e.callback (babylon.canvas2d.min.js:10)
    at e.notifyObservers (babylon.js:2)
    at r.render (babylon.js:10)



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...