Jump to content

Showing/Hiding Text2D objects causes crash


steven_EXC
 Share

Recommended Posts

Hello again guys, I've got a strange bug here.  I'm getting a crash when I'm hiding and then showing a Text2D object, but only when I associate it with a second Text2D object that shares a fontName and then is disposed on the same frame I try to show the first Text2D object again.

http://www.babylonjs-playground.com/#1P3ERF#9

You can see if you change the fontName value to anything else that the code works fine.

Link to comment
Share on other sites

Hello

i just came randomly across this page, i saw your code and start to debug, i also go few playground versions back, and think you are a more advanced programmer, and can handle low-level code
and make his own conclusions.

http://www.babylonjs-playground.com/#1P3ERF#10

If people start to request many things, because they just want to bring their product as fast as possible on the market, canvas2d will grow at 1Mb js file size, full of functions, most forgotten, and unused, also when Nockawa, will get back of his holidays, he had to put an if else statement somewhere, push the children array at the right place, then again overloading some data ..., and again, it slow thing down. 

I'm sure, you will find a workaround, just temporary, before Nockawa is back. 
 
Best

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.

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

Loading...
 Share

  • Recently Browsing   0 members

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