Posts

Post not yet marked as solved
8 Replies
2.0k Views
Hi, I hope someone can help me find an answer to this problem. I filed a bug report to apple but they have not responded to my report yet. Please see the details below. If you have any questions regarding the problem, please feel free to post.Summary: I created a test project (attached), and simply added the following code in touchUpAtPoint:SKTextureAtlas* atlas = [SKTextureAtlas atlasNamed:@"GlobalMap"];[atlas preloadWithCompletionHandler:^{}]; I looked at instruments and it shows memory leaks whenever this method is called. It crashes eventually. I discovered this leak because in my ongoing game project, I preload several of my atlases at the beginning of the game. It started crashing when I updated my code to XCODE 8.0 and my iPhone to IOS 10.0Steps to Reproduce:1) Install the app in an iPhone2) Run the app3) touch the screen several times4) monitor memory allocation and leaksExpected Results: you will see memory leaks in instruments and memory allocation increases until the app crashesActual Results: I saw the expected resultsVersion: iOS 10.0.2Configuration: iPhone 6
Posted
by jmanto.
Last updated
.