Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by hoy_smallfry · Apr 29, 2013 at 10:13 PM · editorwindowsunity 4opengl

Forcing OpenGL in Windows Editor

I'm aware of the -force-opengl command line argument for the Windows standalone player, but is there a way to force the Windows editor to use strictly OpenGL?

My company is targeting Linux platforms exclusively, and we'd like to have the editor's graphics device match to avoid any device dependent differences in rendering.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
7
Best Answer

Answer by numberkruncher · Apr 29, 2013 at 11:01 PM

Yes this can be achieved on the Unity editor itself. Simply run the following path instead:

 "C:\Program Files (x86)\Unity\Editor\Unity.exe" -force-opengl
Comment
Add comment · Show 6 · 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 hoy_smallfry · Apr 30, 2013 at 09:30 PM 0
Share

Thanks! I guess that was obvious, but I was using this documentation and some old forum posts as a reference. The first makes no mention that the same argument can be used for the editor, and the forum posts were either outdated information from previous versions or just misinformed.

avatar image AnnaS · Mar 19, 2015 at 09:42 AM 0
Share

Is there a way to achieve this without passing the command-line parameter?

avatar image hoy_smallfry · Mar 26, 2015 at 07:32 AM 0
Share

I'm not sure if there is, but what you can do is create a symbolic link on your desktop (aka desktop shortcut in Windows, symlinks on $$anonymous$$ac) and direct it to the unity.exe with the command line options you want. That way whenever you use the link to open unity it will always open in OpenGL mode.

avatar image dbrizov · Sep 08, 2015 at 04:48 PM 0
Share

In the documentation it says that OpenGL 2.1 is used. Is this true, or the documentation is old?

avatar image lightpower26 dbrizov · Dec 07, 2018 at 03:22 PM 0
Share

At this time of writing (December 2018), when using -force-opengl on Unity, it shows on the top ""

avatar image Frenchie92 · Mar 11, 2018 at 07:43 AM 0
Share

Or, for those using the 64-bit version in the default location:

"C:\Program Files\Unity\Editor\Unity.exe" -force-opengl

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

17 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 avatar image avatar image avatar image avatar image

Related Questions

Is possible to force my game to run in a spesific OpenGL version? 0 Answers

Maximizing undocked game tab (Windows 10) 0 Answers

Overall quality became worse after changing to Windows from Mac 1 Answer

When I maximize the Unity editor, it's offset on the screen. (Windows 7) 1 Answer

PostprocessBuildPlayer script not functioning.. Will there be a fix? 2 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