-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[troika-3d-text] Missing characters #69
Comments
i had this problem too, but need to look how i resolved this |
@Ocelyn do you use threejs or aframe? |
@arpu Thank you for your reply! Threejs |
ok, what i do is recreate the troika-text on change, but this looks more a bug @lojjic ? |
This definitely shouldn't happen, and I change text all the time with no issues. Can you provide a simple testcase that demonstrates the bug? |
Nevermind, I was able to reproduce the bug. I will fix ASAP. |
@lojjic Thank you so much! |
This bug is caused by an internal change in ThreeJS that they introduced in r117. I'm getting a workaround in place. In the meantime, using ThreeJS r116 should work for you. |
The underlying issue deserves more investigation, but I've got a workaround in place. Version 0.30.1 should fix it for you, please try it and reopen this if you still have issues. Thanks! |
any chance for the aframe update? |
@arpu I just published aframe-troika-text 0.4.0 |
wau thx! |
Reopening... the workaround has surfaced another bug that causes pieces of text to disappear. I suspect it's due to disposing the geometry. pmndrs/drei#62 |
…a GlyphsGeometry Followup fix for #69, reported in pmndrs/drei#62 We were reusing the common plane BufferAttributes across GlyphsGeometry instances, which used to work but as of Three r118 now throws an error about unbound buffers when one of the geometries is disposed. We now clone all the base plane attributes, which keeps things isolated at the expense of redundancy. Thankfully those attributes are usually very small so it's not a huge amount of duplicated data.
Hello, first of all, thank you for your amazing work!
I have a weird issue using troika 3d text.
If I init my Text() with a text with 3 characters length.
And then I change it for a longer text (let's say "hello") only "hel" will be displayed.
Do you have any idea where the problem could be from?
Thank you!
The text was updated successfully, but these errors were encountered: