Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7094105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:31:20+00:00 2026-05-28T08:31:20+00:00

I have a somewhat simple game that I’m making and now that I’m testing

  • 0

I have a somewhat simple game that I’m making and now that I’m testing what I consider a bare bone version of the app on devices, I keep getting crashes over and over. I’m fairly new at debugging on actual devices, so any help would be great.

The really weird part is that it will usually crash when nothing is firing. No touches, no animations, nothing is happening. I’ve tried running Instruments to check for memory leaks. All I find are two objects that are both created in the menu scene.

I’m changing scenes using

Game *game = [Game nodeWithPlayers:arr Tutorial:NO];
[[CCDirector sharedDirector] replaceScene:game];

which sends some data (mainly # of players) to the Game scene. I put a comment in the dealloc of my menu scene and it fires, so I know that’s happening.

The two objects that are reported as memory leaks are my MenuManager object that helps w/ some menu animations and positions in the menu scene, and my SoundManager object which at the moment only plays a couple bit wav file on buttons and a 9mb mp3 as background music. I just don’t understand why those objects are even persisting if the menu scene is deallocated…

I’m not sure where to start w/ debugging these seemingly random crashes. Any advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T08:31:21+00:00Added an answer on May 28, 2026 at 8:31 am

    If it doesn’t crash on Simulator and the crash is “silent”, it seems to be memory overhead. And if you load all resources at once there will be no memory warnings in console.

    Try to run the app with Activity Monitor in Instruments – it measures real memory usage. And try to skip loading textures (inside CCTexture2D class comment glTexImage2D(...).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

somewhat simple problem(to explain) this time: i have an array of markers that i
I have a somewhat simple query in SQL that I would like to convert
I have a (somewhat) simple question about android. I have some classes that contain
I have a somewhat simple Client/Server solution running over C# remoting (System.Runtime.Remoting). The MarshalByRef
I'm writing a very simple text editor and have run into a somewhat minor
I have several somewhat separate programs, that conceptually can fit into a single project.
I have somewhat of a problem. We have a centralized interface engine that will
I have somewhat of a strange question that is not really technical, but I
I have a somewhat stupid problem because it's supposed to be utterly simple ...
I have encountered a somewhat baffling problem with the simple task of filling an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.