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.

You are viewing a single thread.
View all comments
1 point

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

permalink
report
reply
2 points

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!

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Godot

!godot@programming.dev

Create post

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

  • Posts need to be in english
  • Posts with explicit content must be tagged with nsfw
  • We do not condone harassment inside the community as well as trolling or equivalent behaviour
  • Do not post illegal materials or post things encouraging actions such as pirating games

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

  • The icon is a modified version of the official godot engine logo (changing the colors to a gradient and black background)
  • The banner is from Godot Design

Community stats

  • 771

    Monthly active users

  • 703

    Posts

  • 2.8K

    Comments