I have a simple GUI app I made in 4.0.3 and I have tried upgrading it to 4.1 but there always seems to be a scene that it says is corrupted. I have tried the upgrade a couple times and there’s always one scene that doesn’t work but the others will sometimes work and sometimes not.

Fixes I’ve tried:

  • Deleting .godot directory before upgrading/re-importing
  • Manually removing references to external resources that caused errors (textures) in the scene file
  • Re-importing textures

Any other ideas would be appreciated. It’s not detrimental but I’d really like to make use of the exported Arrays of custom types.

  • russ
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I upgraded without issues… i wonder what kind of scenes these are that aren’t working.

    I’d expect manually editing the tscn files could fix it, but wouldn’t know what to change without more info. Is there any detail/errors on why they are corrupted? Sometimes i launch godot on the command line to try to see more error info from the logs/output, tho the same should show up in the editor after startup.

    Worst case you might have to recreate them… maybe that’s not too much work? I had to recreate tilemaps in the 3.x -> 4.0 migration, was pretty annoying

    • max1mum_d3ath@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      It shouldn’t be too difficult to redo, especially if I use the original tscn content for reference. It’s the main menu UI and the only error I saw was related to textures I’m using for the buttons. I have a sneaking suspicion that it could be the TextureAtlas I created for the UI. I hadn’t thought of launching from command line, that’s a good idea!

      • russ
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        yup! you can do something like godot -e from the same directory as your project.godot to launch the editor for that project directly