HJfod / BetterEdit

Makes the Geometry Dash Editor Better
GNU Lesser General Public License v3.0
133 stars 31 forks source link

Adding an object with object properties as custom object, then placing it on other level crashes GD #190

Closed Spidapida closed 4 months ago

Spidapida commented 4 months ago

GitHub Octicons: Alert Crash Report

Report a crash (I.e., when the mod/game closes unexpectedly).


Description

Adding object/s with object ID, color object property, and layers as custom object (not fully tested what object properties would result to this, but these 3 will produce a crash consistently), then placing it on other level crashes GD (game does not crash consistently if you place the object on the same level. Simply going to other levels in editor will not 100% produce a crash, but placing the object will produce a crash consistently)

If for some reason this is important, the object/s inserted is generated outside of game (I write a function that will generate the necessary objects with their necessary object properties, here's one object generated: 1,890,2,285,3,615,57,2680,20,8,21,8). I exported a level with only one object using GDShare, modify the level string (I simply leaving the object data uncompressed, since the game can still read it), and import the level back.

Crash Log

2024-02-12_20-34-25.log 2024-02-12_20-30-49.log 2024-02-12_20-29-30.log

Spidapida commented 4 months ago

Latest version fixes this