Jump to content

canvas 2D error message

Richard C

Recommended Posts

Help anyone please.

I am adapting code from http://www.babylonjs-playground.com/#1HSCKR#2

Getting the following error message:-

babylon.2.5.canvas2d.js:6 Uncaught TypeError: Cannot read property 'GetCachedFontTexture' of undefined
    at i.get [as fontTexture] (babylon.2.5.canvas2d.js:6)
    at i.get [as textSize] (babylon.2.5.canvas2d.js:6)
    at i.get [as size] (babylon.2.5.canvas2d.js:6)
    at i.get [as actualSize] (babylon.2.5.canvas2d.js:6)
    at i.updateLevelBoundingInfo (babylon.2.5.canvas2d.js:6)
    at i.get [as levelBoundingInfo] (babylon.2.5.canvas2d.js:2)
    at i.get [as boundingInfo] (babylon.2.5.canvas2d.js:3)
    at i.get [as boundingInfo] (babylon.2.5.canvas2d.js:3)
    at i.get [as size] (babylon.2.5.canvas2d.js:3)
    at i.l.set [as size] (babylon.2.5.canvas2d.js:1)

Can you point me in the right direction of a solution please.

Many thanks

Richard C

Link to comment
Share on other sites

Thanks Deltakosh.

For the benefit of others who may read this thread, are you saying that the best and safest way of ensuring compatibility between the latest version of Babylon and add-on extensions is to use the versionBuilder rather than github from now on?




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...