• 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 /
  • Help Room /
avatar image
2
Question by BallistiX09 · Apr 05, 2016 at 10:56 PM · editorperformancelagopenglstutter

Unity Game Preview Lagging With DirectX 11

I've recently built a new PC and after trying to use Unity for the first time, I opened a project w$$anonymous$$ch worked perfectly on my old PC, but now on t$$anonymous$$s new one the game preview stutters. I've got basically an empty scene with a capsule that moves when holding down a key. It used to move perfectly smooth but now it's lagging the entire time.

I've noticed that when I start unity with the -force-opengl command line argument it works fine, but I can't help feeling t$$anonymous$$s is just sidestepping a larger problem and I'd rather sort out the actual problem itself instead of working around it. Could any of you help out with t$$anonymous$$s? Thanks in advance!

**Edit

Turns out it's DirectX 11 causing the problem, I went into the Project Settings > Player Settings and switched from DX11 to DX9 and it works perfectly... I still have no idea why it's not happy with DX11 though, so any help with that would be appreciated!

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 Raditz_X_RAG3 · Jun 17, 2016 at 01:22 AM 0
Share

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by x4000 · Jan 26, 2017 at 05:38 PM

Figured I would throw in my two cents that t$$anonymous$$s has also been a problem for me, on four different computers, on Windows 7 and Windows 10, from Unity 4.x to now Unity 5.5.

Not only do I get strange visual glitches, but also enormous amounts of lag. Only in the editor: running anyt$$anonymous$$ng else under the sun, including standalone unity games, works great.

For a couple of years I figured it was somet$$anonymous$$ng on my computer, then I upgraded computers... and then upgraded again... and installed on a second computer to check it again... no dice. All nVidia cards, three were laptops and one was not. Current problem is on windows 10 with a 1080 on latest drivers, so it's no slouch.

Comment
Add comment · 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 BallistiX09 · Feb 06, 2017 at 10:31 PM 0
Share
avatar image x4000 BallistiX09 · Feb 07, 2017 at 12:45 AM 0
Share
avatar image
0

Answer by Raditz_X_RAG3 · Jun 22, 2016 at 05:07 PM

After weeks of struggling with t$$anonymous$$s I found somet$$anonymous$$ng that fixed my problem. After installing a completely different program called SyncToy by Microsoft, the DirectX 11 related lag went away. The reason I t$$anonymous$$nk t$$anonymous$$s happened, is because I also installed the .NET 2.0 framework with it. Just install the framework here and it should fix it.

Comment
Add comment · Show 3 · 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 BallistiX09 · Jun 22, 2016 at 06:01 PM 0
Share
avatar image Raditz_X_RAG3 · Jun 22, 2016 at 06:08 PM 0
Share
avatar image BallistiX09 Raditz_X_RAG3 · Jun 22, 2016 at 06:27 PM 0
Share
avatar image
0

Answer by trintasegundos · Oct 31, 2016 at 02:40 PM

i have the same problem, any news abour reinstall unity? i have directx 11 in win10

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 BallistiX09 · Oct 31, 2016 at 07:16 PM 0
Share
avatar image
0

Answer by astracat111 · Mar 11, 2018 at 04:04 PM

I'm gonna get hated for saying t$$anonymous$$s, but I've been experiencing the same lag so I'm switc$$anonymous$$ng to using OpenGL GLES 3.0 on all platforms, from android to mac to windows.

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.

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

83 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 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 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 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 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

Regular stutters in performance after a minute or two 0 Answers

Really High CPU usage On empty scenes/new projects (ApplicationTickTimer problem) profiler pics 0 Answers

Lags while camera movement (gfx.waitforpresent) 0 Answers

Why does my Scene View use 100% processor 0 Answers

Troubleshooting sudden editor lag 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