Unity3d Editor not opening in Ubuntu

Hi, I am trying to get Unity working on my Ubuntu 20.04 os, but unfortunately after creating an empty 2d Project and clicking on it, I only get to see the splash screen combined with currently loading packages but after its done loading, the splash screen closes and nothing more happens.

I have installed Unity Hub 2.4.3 and have installed the 2019 unity version with its needed moduls. The logs show only following error:

(Unity:7202): Gtk-CRITICAL **: 17:42:16.884: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

I just dont know what to do at this point. I installed gtk dependencies (I think) and yet nothing works, also I have given the unity folder and its subfolders all privilages (777).

Any idea is greatly appriciated

Having the same problem on Arch Linux, with Unity 2019.4.31. 2021 Launches fine. Did you manage to fix it?

I’ve found the same problem today. I first tried 2019.3.28 (I had it installed) and it crashed and I then tried 2019.3.40 and it fails too.

Same thing:
(Unity:34457): Gtk-CRITICAL **: 19:59:15.379: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

I’m also having this issue suddenly, was working fine yesterday. OS is Arch Linux

I get this assert 5 times:
(Unity:28721): Gtk-CRITICAL **: 14:37:41.704: gtk_container_foreach: assertion ‘GTK_IS_CONTAINER (container)’ failed
and then this one right at the end of the log
…/…/third_party/tcmalloc/chromium/src/tcmalloc.cc:289] Attempt to free invalid pointer 0x5636f1818570

Having the same issue with GTK and tcmalloc on Arch Linux as well, with unity 2019.4.31. Can also confirm that other versions start fine.

Edit: found a solution in another post that fixed my issue.

Editor version 2019.4.30f1 fails to open suddenly on Linux