-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Fix crash when exporting improperly configured project. #35570
Fix crash when exporting improperly configured project. #35570
Conversation
device_lock->lock(); | ||
|
||
EditorProgress ep("run", "Running on " + devices[p_device].name, 3); | ||
|
||
String adb = EditorSettings::get_singleton()->get("export/android/adb"); | ||
if (adb == "") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can_export()
already checks for this.
That should work, but IMO a better fix would be to test This would also allow to solve another issue that I noticed recently (but omitted to report), which is that the HTML5 quick export button is always visible, even if templates are missing. |
That being said, I'll merge this version for now as it seems to be a safe enough fix for the imminent 3.2 release. The fix for |
Thanks! |
I've now opened an issue about the possible follow-up and HTML5 one click deploy issue: #35592. |
Oh I honestly didn't notice I was just looking at Android-specific code. I could have looked at a higher level if only I've realized. |
Crash call stack:
Also surface error message if can't export: