Excessive increase "crashes rate" from Build 3692

This isn’t exclusive to 3704, but it started pretty recently for me. Has to do with display objects (I have thousands being created and destroyed basically every second).

[split_config.arm64_v8a.apk!libcorona.so] Rtt_DisplayObject.h - Rtt::LuaGroupObjectProxyVTable::Insert(lua_State*, Rtt::GroupObject* )

Anyone else getting these? I know I have a niche use case, but it’s definitely a newer issue. It’s not super common, but it’s still my #1 crash and has been for the past couple months. I’m still able to stay below the bad behaviour threshold, but it would be nice to get a fix if possible.

Why create and destroy so many objects so fast? I don’t know your use case but generally that is totally unoptimized. You need to use object pooling to stop that happening.

It’s due to the type of game it is, these objects can’t really be put into object pools since it’s so dynamic.

I do use object pools for everything else like particles, UI, text objects etc.

The game is in a pretty well optimized state so performance isn’t really the issue. I’ve worked hard over the years to streamline/optimize as much as reasonably possible and even older devices can run it reasonably well.

This is the game: https://play.google.com/store/apps/details?id=com.pixelcubestudios.android.cookiecollector2&hl=en&gl=US

The PR that can reduce memory usage has arrived. When it is merged and released, please use it and leave feedback. Thank you.

2 Likes