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
1
Question by Runemark · Mar 10, 2015 at 02:43 PM · androidguicrashunity5

Unity 5 GUI crashes android

Hi I just met with this issue, and can't figure out if it's a unity bug, or a setting problem. I tried to build my game (made in unity5 so there shouldn't be a version problem) to my android tablet. the game crashes right after unity logo appeares.

I figured out the GUI system occurs this crash. I tested buttons and texts, both of them crashed. If there is an empty canvas the program starts and runs well.

What could be a problem here? Previously I worked with 4.6 and I could run a game with the gui system on android without any problem. Did this gui changed in 5?

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

2 Replies

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

Answer by Runemark · Mar 10, 2015 at 05:17 PM

I found the problem and was connected with this issue: http://issuetracker.unity3d.com/issues/android-crash-fatal-signal-11-sigsegv-on-some-devices

The solution was to add the UI/Default and UI/Default Font shaders to the Always Included Shaders list under the Project Settings -> Graphics

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 MapuHoB · Jul 15, 2015 at 10:22 AM 0
Share

fixed it for me as well.

avatar image softmarshmallow · Feb 19, 2017 at 03:54 PM 0
Share

not working... any other solutions?? unity 5.5.1p4

avatar image
1

Answer by mubasherikram · Aug 28, 2015 at 11:29 AM

go to Edit > Project Settings > Graphics

in Always Included Shaders add two shaders UI/Default UI/Default Font

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 SimonJnsson · Oct 23, 2015 at 03:51 PM 0
Share

Hey, i'm currently having this issue, but don't know how to actually get th "UI/Default UI/Default Font" shaders so i can add them to "Always included".

EDIT: I found the solution, go to "Always included" and set size to 2, then click and browse for the 2 shaders needed. (UI/Default and UI/Default Font)

avatar image softmarshmallow SimonJnsson · Feb 19, 2017 at 03:58 PM 0
Share

if more than those2 would it crash again??

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

24 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

Related Questions

How to Focus GUI.TextArea in Unity for Android 0 Answers

Debug apk is working but Signed apk apk is not working after inetgrating unity module into Android app 0 Answers

Android thread causes crash? 1 Answer

How do I keep an ui element in side of the canvas when scaling? 1 Answer

Game App Crashes when Application.Quit() 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