• 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
1
Question by metaleap · Aug 12, 2013 at 03:29 PM · androidbuildcrashcrashing

How do I prevent Unity Pro crashes for Android projects?

I worked on a Unity project for a while, never without any issues, always building a standalone (Win7 Ultimate 64-bit) project.

Today I tried to build for Android. After it took some 20 minutes on a blazing-fast machine processing all project assets for whatever reason (is this going to happen every time I switch the build platform???), I plugged in my old HTC One V and tried Build & Run. Unity crashed once but I could successfully restart it and this time, it did build and run on the device.

So then I plugged in my very new HTC One to try the same, as that one has much better performance characteristics. Anyway, I restarted Unity just to be safe it will detect the new device. But it crashed and now ever since, I cannot start Unity -- upon attempting to load the project it crashes. Windows then brings up the "Unity Editor has stopped working" and is "looking for a solution to the problem" but that's just standard Windows "application crash" behavior so kinda useless.

Unity does show its splash-screen for a bit before crashing.

I also tried deleting all files in the project's ScriptAssemblies folder. Same problem, except now Unity shows "Compiling Scripts..." for a bit (and does successfully re-build all assemblies and write CompilationCompleted.txt) before again crashing.

I'm a Pro licensee and pretty fed up with this situation. The machine is a Feb 2012 Dell Precision with an Nvidia Quadro and 32GB RAM --- perfectly capable of doing Unity stuff as I have been doing over the last 2 weeks already, prior to deciding to play with Android.

How do I fix my project for Unity to stop crashing, and how do I prevent this situation from arising again? Actually this is the second time this is happening, but the last time the project was just a dummy playground so I didn't mind the whole mess too much.

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
1
Best Answer

Answer by metaleap · Aug 13, 2013 at 11:24 AM

"Solved": don't enable DX11 in player settings in a project with an Android build target... oh well.

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 DavidErosa · Aug 14, 2013 at 12:23 PM 0
Share

That's great to know! have your filled a bug report?

avatar image metaleap · Aug 14, 2013 at 12:32 PM 0
Share

I did -- before I figured out the workaround from the messages in the editor.log files. Which I linked to in the bug report (sent via Unity's Bug Reporter) -- so if I could figure it out from the editor.log(s) then hopefully they will, too ;)

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

16 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

Related Questions

Crash with Android Application in Phones 1 Answer

unity crashes on com.unity3d.player.UnityPlayer.nativeRestartActivityIndicator 3 Answers

[ANDROID] signal 11 (SIGSEGV) ON ANDROID 8.0/8.1 WHEN PLAYING GOOGLE INTERSTITIAL/VIDEO AD 2 Answers

Cpu 100%, crashes in build. Editor works fine. Why? 0 Answers

Android game shuts down but doesn't crash on startup 0 Answers

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