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 /
  • Help Room /
avatar image
0
Question by moh05 · Jun 13, 2016 at 12:25 PM · androidbugiphonefreeze

Game Freezes in Mobile but plays normally in Editor

Hello guys,

So I am doing a card game. Right now I have three scenes: Splash/Main Menu/Game Level

The game is done. When I run it in Editor, it plays normally.

Now when I build and run either on Android or Iphone, the game freezes when I reach "Game Level" scene after few seconds.

What am I missing here? How can I find the bug?

Comment
Add comment · Show 6
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 e4lime · Jun 13, 2016 at 06:30 PM 0
Share

Try narrowing it down by disabling different scripts and rebuilding. You could also check the logfiles(https://docs.unity3d.com/$$anonymous$$anual/LogFiles.html) for errors.

avatar image moh05 e4lime · Jun 14, 2016 at 11:20 AM 0
Share

Thank you for your reply

Well i did not get any error on xcode console:

Skipping profile frame. Receiver can not keep up with the amount of data sent

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Network/PlayerCommunicator/GeneralConnection.cpp Line: 338)

That's all what I get. In addition, Unity profiler is still running showing em the CPU usage.

$$anonymous$$oreover, my pause button is working ( i click on it and i can click on all buttons on the pause panel).

The game freezes when I start distributing the cards ( the cards and pause button are on a different canvas panel )

Do you have any additional tips?

avatar image Owen-Reynolds · Jun 13, 2016 at 08:12 PM 0
Share

Probably a crash. Some errors actually crash, and some just freeze. Probably code that doesn't work on mobile -- like files, touches, anything is #ifdef IOS ... . Or maybe you always had an error which you were ignoring (Editor runs won't crash on errors, but everything else will.)

On iPhone (maybe also Android,) you can just read the errors from Run in Xcode.

avatar image moh05 Owen-Reynolds · Jun 14, 2016 at 11:20 AM 0
Share

Thank you for your reply

Well i did not get any error on xcode console:

Skipping profile frame. Receiver can not keep up with the amount of data sent

(Filename: /Users/builduser/buildslave/unity/build/Runtime/Network/PlayerCommunicator/GeneralConnection.cpp Line: 338)

That's all what I get. In addition, Unity profiler is still running showing em the CPU usage.

$$anonymous$$oreover, my pause button is working ( i click on it and i can click on all buttons on the pause panel).

The game freezes when I start distributing the cards ( the cards and pause button are on a different canvas panel )

Do you have any additional tips?

avatar image Owen-Reynolds · Jun 14, 2016 at 02:11 PM 0
Share

Debugging iOS-only errors is a pain, but no different than anything else. Simplify to narrow it down, add debugging lines. Look up that message. Sometimes you have to be clever and print things to labels, specially made for that. Look for things that might work differently in iOS (it might not be that, but good place to start.)

avatar image moh05 Owen-Reynolds · Jun 14, 2016 at 04:40 PM 0
Share

It not only in iOS but in android too...That's really crazy! I mean the game is half frozen as the pause button is working...I can't think of any logical steps here

0 Replies

· Add your reply
  • Sort: 

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

75 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

Related Questions

Connection with the local hard disk server using an static ip. 0 Answers

Still Unity3D Editor 2017.2 , Freezing in Mac OS High Sierra 3 Answers

Bug unity 5.2.1 Rendering UI With android 4.1.2 Jelly Bean 1 Answer

Unity craches inconsistently on Android during rendering in GfxDeviceGLES::DrawBufferRanges function 1 Answer

Bug Android build not exporting 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