Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Render warning when adding new text after Text2D.dispose()

$
0
0

Hi

I just started using the Text2D class - and I find it very useful!

But I found a little problem. If I dispose of a text element and then add another one to the same canvas, the new text is nothing but a black rectangle and I get the following warning in the console:

[.CommandBufferContext.Offscreen-MainThread-0493EE88]RENDER WARNING: there is no texture bound to the unit 0

Here is a small example where the phenomenon occurs: http://www.babylonjs-playground.com/#1WJHS0#0

This is a bug right? Or am I just doing something wrong? Is there a workaround?

Thank you!


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>