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 /
This question was closed Oct 02, 2014 at 07:32 AM by RedDevil for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by RedDevil · Sep 25, 2014 at 08:43 AM · iosmobilefreezestartup

iOS game freezes at a collision after startup

Hi. Each time i start the game and it detects a collision i see it freeze for 1-2 seconds.This only happens after i just started the game.If i reset the game without closing it with Application.loadlevel this problem is not there anymore.What could cause this problem and how can i fix it? Thank you

Comment
Add comment · Show 22
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 HarshadK · Sep 25, 2014 at 09:29 AM 0
Share

Are you perfor$$anonymous$$g any heavy processing inside OnCollisionEnter like resource loading or something?

Is it in build or editor?

avatar image RedDevil · Sep 25, 2014 at 09:39 AM 0
Share

it is build on iOS and this only happends the first time i start the game. if i do another collision right after it does not happend and also it does not happend again if i restart the stage

avatar image HarshadK · Sep 25, 2014 at 09:48 AM 0
Share

Did it use to happen in editor?

avatar image RedDevil · Sep 25, 2014 at 10:01 AM 0
Share

can't be tested in the editor since touch controls

avatar image HarshadK · Sep 25, 2014 at 10:30 AM 0
Share

Oh. Still try to check it in editor with mouse based controlling, if possible.

But currently one of the reasons might be iOS is running low on memory and trying to free space for the application causing it to freeze, in this case try to test it on another device. OR if possible, can try to use the profiler to figure out exact issues.

Show more comments

1 Reply

  • Sort: 
avatar image
0

Answer by HarshadK · Sep 26, 2014 at 11:52 AM

You can create a pool of these particle systems where you can store the particle systems so that you do not have to instantiate it every time required.

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

Follow this Question

Answers Answers and Comments

25 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

Related Questions

Xcode error when archiving - Undefined symbols 0 Answers

Large resouce folder iOs crash at startup 2 Answers

Avoid touch input when pressing the "Pause" button 1 Answer

Does Input.compass.headingAccuracy ever return everything but 0? 0 Answers

Unity 5 iOS MovieTexture 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