Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot 4.2.beta6 just closes with no error or indication of what is wrong when opening some projects #84853

Closed
Damnae opened this issue Nov 13, 2023 · 12 comments

Comments

@Damnae
Copy link

Damnae commented Nov 13, 2023

Godot version

Godot Engine v4.2.beta6.mono.official.64150060f

System information

Windows 10, amd cpu, vulkan

Issue description

Even when using -v in console, nothing seems wrong and Godot closes after printing its version number for the second time.
Another project opens fine and then godot freezes trying to upgrade meshes.

If there is already a report of this that I missed, consider this one to be more about the lack of indication of what is wrong that the problem of some projects not opening?

Steps to reproduce

  • Open a project
  • Something is wrong but you won't know why
  • Godot closes
  • No error or log to be found

Minimal reproduction project

testproject.zip

@AThousandShips
Copy link
Member

Unfortunately there's not enough information here to help you, please provide a project that this happens with

@Damnae
Copy link
Author

Damnae commented Nov 13, 2023

I can't provide my whole project and I have no idea what's wrong with it because godot doesn't seem to provide anything when it crashes. < For me this is the real issue.

@AThousandShips
Copy link
Member

I understand that, but you said it happens on different projects, but not all

You understand we can't do anything unless we know something about what's going wrong?

@Damnae
Copy link
Author

Damnae commented Nov 13, 2023

If you want to see an example of godot not providing error log or message when it crashes, you can use Godot_4.1.dev4 and just open it with an AMD gpu. No project needed as it'll close without error or log as soon as it tries to open the project list.

This was the problem at the time #77760

@AThousandShips
Copy link
Member

Okay, but you're not following

I'm not demanding you prove that something is wrong, the MRP is to help identify what is wrong, and if you don't provide anything like that we can't do anything, do you understand how it's impossible to do something if we don't know anything?

@akien-mga akien-mga added the bug label Nov 13, 2023
@akien-mga akien-mga added this to the 4.2 milestone Nov 13, 2023
@akien-mga
Copy link
Member

Even if you can't provide a reproduction project, there are other tests you could make to help identify what the issue is.

Could you test earlier 4.1.x-stable and 4.2-beta/dev snapshots and let us know which versions work and don't work? Specifically, assuming that your project works in 4.1.3, it would be useful to know what's the first 4.2 build that fails.

If you're able to compile Godot from source, you could also possibly get more information when the engine crashes by connecting it to a debugger (the official builds we provide don't include debug symbols, so a debugger wouldn't give much info).

@Damnae
Copy link
Author

Damnae commented Nov 13, 2023

From my point of view what is wrong is that Godot doesn't provide anything when it crashes like this.

I'll check other versions.

@AThousandShips
Copy link
Member

Agreed, that's part of the bug 🙂

@Damnae
Copy link
Author

Damnae commented Nov 13, 2023

4.1.3 works.
None of the 4.2 beta manage to open the project.
dev1 works, dev4 works, dev6 doesn't, dev5 doesn't.

So somewhere between dev4 and dev5.

@Damnae
Copy link
Author

Damnae commented Nov 13, 2023

Removing godot-jolt from the project allowed godot 4.2.beta6 to open it.

Updated the post with a project that just has the plugin and it's enough to cause the crash.

@akien-mga
Copy link
Member

Thanks for testing, that should be solved in Godot-Jolt already by godot-jolt/godot-jolt#640.

Regarding not getting any information, that's sadly often the case on a crash, as it's by nature unpredictable.
Windows makes it further tricky as it tends not to print error messages in the console unless it's compiled as a console app.

We've been discussing the possibility to add a safe mode that could help debug such issues, so I'll close this as duplicate of godotengine/godot-proposals#2628.

@akien-mga akien-mga closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2023
@Calinou
Copy link
Member

Calinou commented Nov 13, 2023

Regarding not getting any information, that's sadly often the case on a crash, as it's by nature unpredictable.
Windows makes it further tricky as it tends not to print error messages in the console unless it's compiled as a console app.

#61906 addresses this, but it needs several more things to be fully operational out of the box:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants