• 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
Question by foh · Feb 20, 2013 at 10:51 PM · editorfont

Editor font changes when pressing CTRL-P

If I select the Game Tab and press CTRL-P to play the game, the editor font changes to what looks like Arial (it's usually Verdana, I think). Doesn't happen if I select any other tabs/window titles.

This is on Win7 64, latest version (4.0.1f2).

Changing window layout or maximizing/minimizing with space doesn't help (seems to have helped in a similar case)

I have to restart Unity to restore the regular font. I wouldn't mind if it didn't make settings difficult to read (see the attached pictures).

Before pressing CTRL-P: alt text

After pressing CTRL-P: alt text

Any ideas on what I can do?

before.png (16.4 kB)
after.png (20.4 kB)
Comment
oferei
Fattie

People who like this

2 Show 0
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

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by foh · Mar 04, 2013 at 07:47 PM

After working around this for a while, I tried getting to the root cause. I found out that this can be replicated in a new project very easily:

  1. Create new project

  2. Create a C# script (or Unityscript, doesn't matter)

  3. Open the script, add the function void OnGUI() {} and then save

  4. Add the script as component to main camera

  5. Press "game" tab (important step, make sure you actually press it)

  6. Press CTRL-P to start the game

Your editor font is now changed. If this saddens you, you can get it back by deactivating the script and press CTRL-P again.

So, short answer: It's a bug.

Comment
Ludus

People who like this

1 Show 5 · 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 Aaal · Mar 15, 2013 at 07:52 AM 0
Share

A stupid bug I agree. Any way to keep it constant?

avatar image foh · Mar 16, 2013 at 09:33 AM 0
Share

Ah, thank you for commenting guys. It reminded me that I need to close this question.

I filed a bug report and the Unity team said they found that this happens only with the free version skin.

Anyway, the bug report is Case 529507 in their system.

Aaal: Only thing I've found is "don't press the game tab" :)

avatar image Aaal · Mar 16, 2013 at 10:18 AM 0
Share

I'm using cmd+ P dude and that makes no difference. The bug still there. Perhaps it's just the free version problem

avatar image Aaal · Mar 16, 2013 at 10:20 AM 0
Share

Game view tab or scene view tab still same. Visual big will still arise randomly

avatar image Ludus · Dec 16, 2013 at 06:43 PM 0
Share

I can confirm this has also happened to me. Ctrl + P also fixed it for now. I was making and using GUISkins just before it happened... related maybe?

avatar image

Answer by goal2112 · Oct 17, 2013 at 07:55 PM

As of today, 10/17/13, this bug still persists in version 4.2.1f, and I also have a pro license, so this isn't a bug in the free version. I'm using Windows 8, if it matters.

The thing is that this only happens on this particular computer at my office. It doesn't happen on my other programmers' computers, nor does it happen on my desktop at home, and all have relatively similar hardware & software configurations.

Does anyone know anything about this yet?

Comment
Fattie

People who like this

1 Show 2 · 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 Fattie · Oct 17, 2013 at 07:59 PM 0
Share

fascinating!

avatar image goal2112 · Dec 16, 2013 at 09:27 PM 0
Share

This only happens if you create and use a custom layout. Choose one of the existing layouts, modify it to your liking, and don't save it as a new one. That worked for me.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

13 People are following this question.

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

Related Questions

Can you change Unity editor font and font size? 2 Answers

Font in Unity Editor is too smooth 0 Answers

How do I make copies of my Font with an editor script? 2 Answers

How to find a font via script? 2 Answers

Unity Editor Fonts Display Error. 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