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

Text2D Bug

$
0
0

So far I wasn't able to isolate the problem, so I'll try to give as many details as possible, even though most of them will probably be irrelevant to the bug.

 

I have a ScreenSpaceCanvas2D instance that contains different instances of Group2D, some of those instance contain Text2D and some contain Sprite2D.

For future reference "textField" would be a Text2D inside a Group2D inside a ScreenSpaceCanvas2D.

Executed one after the other on click events at the same run:

textField.text = "0"; -works as expected

textField.text = "450"; -only displays "4"

textField.text = "500"; -only displays "5"

textField.text = "0"; -text now completely disappears, along with the text in another unrelated Text2D, which happens to be a Text2D contained in a different Group2D that is added to ScreenSpaceCanvas2D right after textField's Group2D.

 

Once the text disappears from both Text2D instances it is never displayed again in them no matter what values I try to set in text.

No errors are thrown.

 

I failed at reproducing this issue in a PG, I'll keep trying and post it here if I succeed. Hopefully what I wrote would be enough to find the bug.

 

@Nockawa

 


Viewing all articles
Browse latest Browse all 760

Trending Articles



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