flathub / com.unity.UnityHub

https://flathub.org/apps/details/com.unity.UnityHub
21 stars 12 forks source link

[Bug]: 3.9.1 breaks `-- --headless help` #124

Open comods opened 2 months ago

comods commented 2 months ago

What Happened

3.9.1 breaks -- --headless help

How to Reproduce

flatpak run com.unity.UnityHub -- --headless help

Operating System

Bazzite 40 (Fedora Atomic 40)

Command-line output

Gtk-Message: 10:16:48.305: Failed to load module "colorreload-gtk-module"
Gtk-Message: 10:16:48.305: Failed to load module "window-decorations-gtk-module"
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading '_concatLogs')
    at error (/app/extra/resources/app.asar/build/main/logger.js:121:34)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2:0922/101650.671060:ERROR:browser_main_loop.cc(271)] GLib: g_atomic_ref_count_dec: assertion 'old_value > 0' failed

Anything else?

This worked on older versions of UnityHub.