Cosmella-v / EditorPins

0 stars 1 forks source link

GAME CRASH 😭 #3

Open RazoomGD opened 3 weeks ago

RazoomGD commented 3 weeks ago

https://github.com/user-attachments/assets/174a5de2-cb99-41a5-96a0-bb0c7c4b2b6b

RazoomGD commented 3 weeks ago

After exactly that sequence of actions game crashes. Also, after this crash and game reload, it starts crashing on every attempt to open the editor

hiimjasmine00 commented 3 weeks ago

How about send the whole crashlog? It should be at C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\geode\crashlogs\2025-04-22_00-01-30.log.

RazoomGD commented 3 weeks ago

won't be very helpful, but I'll send it

RazoomGD commented 3 weeks ago

2025-04-22_00-01-30.log

RazoomGD commented 3 weeks ago

I think crash happens because you sometimes return CCNode instead CreateMenuItem from getCreateBtnViperPatch

hiimjasmine00 commented 3 weeks ago

No, CCNode should be fine in this case. It would probably crash later on, though.

hiimjasmine00 commented 3 weeks ago

Hold on a minute. @Cosmella-v Creating a CCNode via CCNode::create already autoreleases it, so you're essentially calling autorelease twice.

Image
RazoomGD commented 3 weeks ago

@hiimjasmine00 Wait, where is this line? I dont see it.

Image

RazoomGD commented 3 weeks ago

Also, it crashes on editor enter every time a non-existent custom object id is in the save file

hiimjasmine00 commented 3 weeks ago

@RazoomGD I was on the wrong commit.

RazoomGD commented 3 weeks ago

@Cosmella-v I've fixed the crash. Check PR