Frame Rate Slow Down...
-
@Deeeds Wrong solution for the wrong problem. You’re getting laggy editor as well as laggy game. Deselecting graphic is a fix for just a particle constantly lagging for no reason. That’s why I was asking for a link, so I could see what you mean for myself.
-
@Deeeds Wrong solution for the wrong problem. You’re getting laggy editor as well as laggy game. Deselecting graphic is a fix for just a particle constantly lagging for no reason. That’s why I was asking for a link, so I could see what you mean for myself.
-
@Murtaza This is what a frame drop looks like. See the ring that's brighter and has a little gap behind it where one ring is missing.
Thanks to the fact that your particle engine doesn't interpolate particle positions in between frames, I can overload it to more accurately monitor frame rates than the shitfulness that is the cocos2D frame rate reporter.
This is from a few days ago, and is about the only frame drop in 30 seconds of testing, whilst concurrently piping the whole screen through lightning cable to the Mac to record it. So it's probably a bunch of system calls that caused it.
Soon after this, all hell broke loose and your engine became so laggy that it was incredible. Not just in play testing, but also in editing behaviours and scenes. I was frantically deleting scenes, particle systems and all sorts of objects and behaviours, mistakenly thinking it must be something I did.
By the time I got to a scene with nothing more than the hero, ground and camera controller, and it was still stuttering away, I realised the problem wasn't me.

@Deeeds said in Frame Rate Slow Down...:
Soon after this, all hell broke loose and your engine became so laggy that it was incredible. Not just in play testing, but also in editing behaviours and scenes. I was frantically deleting scenes, particle systems and all sorts of objects and behaviours, mistakenly thinking it must be something I did.
By the time I got to a scene with nothing more than the hero, ground and camera controller, and it was still stuttering away, I realised the problem wasn't me.
I don't think I've ever had lag continue into the editor like that. By stuttering away, do you mean constantly lagging or random lag spikes?
It seems unlikely to me it's a memory leak because I'd expect the app to crash eventually from running out of memory, unless there's some kind of garbage collector that's causing the lag.
It also sounds very weird that you'd have to quit the app twice to fix it; I wouldn't expect memory to persist into the next launch.
I've heard about ios11 running badly, could it be a related bug causing a memory leak?
-
@Aidan-Oxley FFS.
They are TWO DIFFERENT problems.
I'm only pointing out the laggy editor to show there are OTHER leaks.
@Deeeds I got the wrong idea. I haven’t had this problem, which was why I was asking for a link so that I could try to replicate it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login