• 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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

Missing UI material in windows OpenGL standalone 0 Answers

PostprocessBuildPlayer script not functioning.. Will there be a fix? 2 Answers

How do I get true full screen (no gray at the top) in my game tab? 1 Answer

Why won't Unity Editor open? 8 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges