Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 drorriov · Nov 25, 2018 at 02:58 PM · unity 2dandroid buildcrashinglogadb

Game crashes on Android the second it loads (no splash screen)

I did some upgrades to plugins like Android SDK, JAVA SDK, Facebook, FireBase and it crashes the moment i launch it on android (no Splash screen), but i do not know if that was the cause (since it did solve other errors prehand) and i can compile other games. I am using unity 2018.2.16f.

I use Gradle since without i have High Dex thing.

Everything compiles with NO errors to APK, that is the strange thing. Did any encounter such issue?

Protect Graphic Memory is OFF.

This is the log, i can't seem to detect any problem, or maybe i am missing something that you could help me.

The log:

11-25 16:49:22.709 3793 4570 I ActivityManager: START u0 {act=android.intent.action.MAIN typ=null flg=0x10000000 cmp=ComponentInfo{com.xxxxx.thegame/com.unity3d.player.UnityPlayerActivity}} from uid 10033 11-25 16:49:22.720 3793 3793 D PackageManager: Shame on you for calling the hidden API queryBroadcastReceivers(). Shame! 11-25 16:49:22.728 3793 3955 D ActivityManager: isScaleDownAnimationEnabled() : true 11-25 16:49:22.731 3793 3955 D ActivityManager: package com.xxxxx.thegame, user - 0 is SDcard whitelisted 11-25 16:49:22.750 3793 3955 I ActivityManager: Start proc 16567:com.xxxxx.thegame/u0a443 for activity com.xxxxx.thegame/com.unity3d.player.UnityPlayerActivity 11-25 16:49:22.771 3793 3793 D PackageManager: Shame on you for calling the hidden API queryBroadcastReceivers(). Shame! 11-25 16:49:22.786 3793 4570 I ActivityManager: DSS on for com.xxxxx.thegame and scale is 1.0 11-25 16:49:22.883 3793 4248 D PackageManager: getComponentMetadataForIconTray : com.samsung.android.game.gamehome.main.MainActivity does not exist in mServices 11-25 16:49:22.883 3793 4248 D PackageManager: getComponentMetadataForIconTray : com.samsung.android.game.gamehome.main.MainActivity does not exist in mProviders 11-25 16:49:22.883 3793 4248 D PackageManager: getComponentMetadataForIconTray : com.samsung.android.game.gamehome.main.MainActivity does not exist in mReceivers 11-25 16:49:22.889 3793 4578 W

> ActivityManager: crash :

com.xxxxx.thegame,0 11-25 16:49:22.894 3793 4578 W ActivityManager: Force finishing activity com.xxxxx.thegame/com.unity3d.player.UnityPlayerActivity 11-25 16:49:22.897 3793 4578 W ActivityManager: Force finishing activity com.samsung.android.game.gamehome/.main.MainActivity 11-25 16:49:22.910 3793 3809 D ActivityManager: package com.android.printspooler, user - 0 is SDcard whitelisted 11-25 16:49:22.928 3793 3809 I ActivityManager: Start proc 16591:com.android.printspooler/u0a147 for service com.android.printspooler/.model.PrintSpoolerService 11-25 16:49:22.937 3793 3955 D ActivityManager: package com.samsung.cmh, user - 0 is SDcard whitelisted 11-25 16:49:22.952 3793 3955 I ActivityManager: Start proc 16604:com.samsung.cmh:CMH/5004 for service com.samsung.cmh/.service.CMHService 11-25 16:49:22.977 3793 5203 I ActivityManager: DSS on for com.android.printspooler and scale is 1.0 11-25 16:49:23.002 3793 5203 I ActivityManager: DSS on for com.samsung.cmh and scale is 1.0 11-25 16:49:23.036 3793 3811 I ActivityManager: Showing crash dialog for package com.xxxxx.thegame u0 11-25 16:49:23.052 3793 8854 D PackageManager: getSelectedMetaData : packageName(com.xxxxx.thegame) or Metadata strings {[Ljava.lang.String;@3ff40ff} 11-25 16:49:23.113 3793 5172 D PackageManager: getSelectedMetaData : packageName(com.facebook.katana) or Metadata strings {[Ljava.lang.String;@ba79871} 11-25 16:49:23.177 3793 5172 D PackageManager: getSelectedMetaData : packageName(com.facebook.orca) or Metadata strings {[Ljava.lang.String;@18ab1e2} 11-25 16:49:23.396 3793 3810 W ActivityManager: Activity pause timeout for ActivityRecord{944e559 u0 com.xxxxx.thegame/com.unity3d.player.UnityPlayerActivity t6 f} 11-25 16:49:23.397 3793 3810 D ActivityManager: isScaleDownAnimationEnabled() : false

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
1

Answer by drorriov · Dec 09, 2018 at 05:14 PM

It was AdMob issue, i didn't see it in log since it was filtered out with my logging command. Make sure you see ALL the log from Unity, not only UnityActivity.

Comment
Add comment · Show 10 · 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 spideychan · Dec 09, 2018 at 10:19 PM 0
Share

I have no admob just google mobile ads, and got successful build until i add any of firebase services or even google analytics. Here are my full logs about the issue, i have worked around 30 hours but not solved the problem sadly There is some issue about the attachment that i can not attach please refer the logs in here https://stackoverflow.com/questions/53697236/firebase-unity-crash-prolem-at-start

avatar image drorriov spideychan · Dec 10, 2018 at 09:30 PM 0
Share

You should see in log what caused the crash.

What log command are you executing?

avatar image spideychan drorriov · Dec 10, 2018 at 09:39 PM 0
Share

i am using this command ./adb logcat -s Unity Activity$$anonymous$$anager Package$$anonymous$$anager dalvikvm DEBUG also i have add the link in previous message that all my logs

Show more comments
avatar image
0

Answer by spideychan · Dec 08, 2018 at 04:59 PM

same error for me, look through the logs, reimport project, restart computer, force start google play resolver but not worked, any one could help please, i am also stuck for 2 days sadly

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.

Follow this Question

Answers Answers and Comments

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

Hey, I'm trying make an auto energy recovery system with my game (2D) with a while loop. I found that it crashes my unity and I need help in fixing it. 1 Answer

Unable To Understand Android Crash : android.view.ViewGroup.offsetRectBetweenParentAndChild 0 Answers

Can't Attach Debugger to Android Build 2 Answers

SpriteRenderer becomes invisible when rotated using animation and built for android unity 5.3.1 1 Answer

Issue with android port 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