this post was submitted on 10 Jul 2023
13 points (100.0% liked)

Godot

5894 readers
41 users here now

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

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

[email protected]

Credits

founded 1 year ago
MODERATORS
 

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 comment's thread
view the rest of the comments
[–] russmatney 1 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

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!

[–] russmatney 1 points 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