• 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 smallbit · Oct 03, 2014 at 04:42 AM · lightingdx11

Unity Android Dx11 on Dx9 GPU problem

Hello there, I have a project for android using lightmaps etc it works fine on my pc (Editor and build) (Win 7 ). Now I want to build the project off of other PC (Win 8) Both Pc using Unity pro 4.5.3f3. Now In the Pc with win 8 On the toolbar for some reason it says "Android Dx11 on dx9 GPU "(On my win 7 it says just "Android") the lights are way too bright and the build from that pc crashes on the device too.

I tried to switch to pc/standalone disable Dx11(that should not be on Android in the first place) and switch back to android but its not helping and it still says its Dx11. Any Ideas ??

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 jlejoux · Jan 06, 2015 at 03:44 AM 0
Share

I've got the same problem on exporting to android devices. Did you manage to solve this ?

Thx 1

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Wolfram · Dec 08, 2015 at 01:00 PM

Per default(?) it seems that for Android projects, OpenGL ES 2.0 emulation is activated. Disable it by setting Edit->GraphicsEmulation to "NoEmulation".

EDIT: oh great, it seems some time around 4.5, a bug was introduced that forcibly keeps resetting this back to OpenGL ES 2.0 EACH TIME the project is opened... -.- See hu_amao's answer here for a workaround-hack: http://answers.unity3d.com/questions/817842/set-graphics-emulation-to-no-emulation-as-default.html

You might also need to experiment with the PlayerSetting "AutoGraphicsAPI" and/or manually adding/removing Open GL ES 3.0 there, to actually build correctly for a particular range of devices.

See here: http://forum.unity3d.com/threads/dx11-on-dx9-gpu.296988/#post-1956944

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

Answer by tanoshimi · Oct 03, 2014 at 06:43 AM

When your standalone target platform is set to use Direct3D 11, that causes the editor to run in DX11 mode too. In your case, your graphics card only supports DX9 (that's what the "DX11 on DX9 GPU" means in the application title bar), which can cause a variety of issues - another commonly reported one is that the asset store window won't load.

The solution you mentioned you tried should work - change target platform to standalone, disable Direct3D 11, and then switch back to Android. If this didn't remove the DX11 from the title bar then it must not have saved the setting for some reason - can you try again?

alt text


dx11.png (29.0 kB)
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 smallbit · Oct 03, 2014 at 07:04 AM 0
Share

I tried it several times, even on standalone, if I disable Dx 11 in player settings on the top bar is says (DX11) even though the option is disabled (like in the picture above). I also tried to save and restart after each change still no luck. It looks like Unity is forcing Dx11... It is not supported by Android anyway is it?

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

29 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

Related Questions

Unity 4 shader error 1 Answer

Animating from day to night 2 Answers

Terrain shadow distance and lighting problem 0 Answers

How do I fix directional light problem with multiple instances of prefab? 1 Answer

Possible to apply Ambient Occlusion in script? thanks in advance! 1 Answer

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