Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by DuFF14 · Oct 05, 2016 at 06:22 PM · guirenderingtext

GUI Text rendering problem in WebGL

I'm having an issue when exporting to WebGL in which it appears certain letters of certain text fields are being clipped out and not rendering. I haven't found anyone else to have encountered this and have done a great many WebGL builds with GUI Text and this is the first time I've faced this problem myself.

The text renders fine in Editor (and Standalone): alt text

But I get this in WebGL: alt text

A few troubleshooting steps I've already tried:

  • Ensured that Vertical and Horizontal Overflow are set to "Overflow"

  • Used "Best Fit" setting, with a minimum font size of 0

  • Switched out for other fonts; the problem persists with all of the custom fonts I have as well as the standard Arial

Extra things I should note:

  • This problem arose after the project was already well underway, though I haven't yet been able to pinpoint exactly when (Sorry!)

  • I'm using version 5.4.1f1, but the problem arose in 5.4.0f3

  • I'm locked into a non-standard resolution for the WebGL build (1150x692)

Has anyone seen anything like this or have an idea what might be causing it?

good.png (144.3 kB)
bad.png (128.3 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image itsharshdeep · Nov 15, 2016 at 08:10 AM 0
Share

Hi,

I also faced such type of issue once. The reason behind the issue was that I have used a font with "Custom set " properties. ( Attached image) I forgot to add some of the characters in that. & also there were some issues because of the spaces. Just check if you have also used the custom set properties.

alt text

screen-shot-2016-11-15-at-13901-pm.png (82.1 kB)

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by dave_e3ct · Nov 15, 2016 at 08:46 AM

Just got the same problem with my webGL build in Unity 5.4.2p4. Did you find a fix? It's not consistent for me, broken on some screens, not on others.

I did notice that if you add an arbitrary amount, say 10, to the Z position of the text components the problem appears to go away. Not sure if this just moved or "fixed" the issue.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dave_e3ct · Nov 17, 2016 at 12:27 PM 0
Share

This appears to fix some issues with the text rendering but not all. Some still remain.

avatar image
0

Answer by DryreL · May 24, 2020 at 02:42 PM

Same problem here. Does someone know how to fix it?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jorgebacca · Aug 24, 2020 at 11:31 PM 0
Share

Did you managed to solve this issue?

Thank you for any suggestions.

avatar image
0

Answer by jorgebacca · Aug 24, 2020 at 11:30 PM

Did you managed to solve this issue. I am experiencing the same issue in Unity 2018.3.0f2. As you can see in the following picture (highlighted in red) only some letters in the text are shown the rest of the letters dissapear in WebGL:

image with the error in webGL

Thank you for any suggestions guys.


questionunity-webgl.png (21.6 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why aren't asian fonts rendering dynamically? 0 Answers

New GUI - Text not rendering in front of geometry if using a Mask 1 Answer

Detect Text in GUI; Print 1 Answer

GUI text font change 3 Answers

Limit on GUI Components? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges