Scene editor error - cannot read properties of undefined

Describe the bug

I’m no longer experiencing the bug but i’m leaving a record for future reference.

I couldn’t open the visual editor for scenes. It displays Unique Error ID for debugging: 656898fc-ff54-4d4f-b811-e54f66f06733 TypeError: Cannot read properties of undefined. The error points to several file locations on my computer within gdevelop such as WindowsApps/GDevelopgameengine.GDevelop_5.6.275.0_x64__k1pbm4zg68kra/app/resources/app.asar/www/static/js/710.123d5cec.chunk.js:1:1994320 at RP

Bug appeared many hours after inactivity on my end. Steps below show what i did hours before i went back to the project.

Steps to reproduce

  • Created a panel sprite

  • Used a boolean within an extension i made to control panel sprite creation

  • Edited the extension i made because it didn’t work and added a second boolean value to return FALSE.

These steps were recreated in another project of mine and had no issue.

I went back to the original project and did these steps

  1. Original scene in original project-> crashes.

  2. Duplicate created-> works.

  3. Renamed duplicate to the original scene’s name-> now crashes.

  4. Created another duplicate and renamed the original buggy scene to testing123.

  5. Closed and reopened GDevelop.

  6. Now both scenes work.

using latest version of gdevelop on windows.

Share a very simple GDevelop project showing the bug

It has to include the assets along with the game.json

i was working on this section

and this exrtension

just me… or is this happening a lot?

I’ve solved the issue upgrading to the version 5.6.276 that fix the bug of the side panel.

Yeah I think thats how my issue was fixed. As mentioned before I created a duplicate which helped. But so far, after the update, the original doesn’t have that issue.

Seems to be fixed in the latest update 5.6.276