Im trying to figure out this one,and Im not sure whats causing it.
This is the issue thats happening:
https://drive.google.com/file/d/1fqWUioxcrMcA3aj9_p6wm-wd9p-pizjg/view
This seems to happen only on elementaryOS (both Loki 0.4.1 and Juno beta 5).
Could it be some issue with DE or maybe Unity?
Ive tested with my Arch rig with KDE and Gnome,and I cant reproduce it.
Ive booted VM and tested it under vanilla Ubuntu (again with Gnome) and its not present.
If someone knows what might be the issue and if its OS specific,do share you thoughts,as it would allow faster and easier fix for both devs of the OS and users!
All the best!
1 Like
Having the exact same issue with Unity 2018.2.0f2 on Elementary OS 0.4.1 Loki. I haven’t tested with newer versions of the Editor nor the OS. Maybe I’ll just downgrade the Editor version, as former (2017) versions were running without those issues.
confirmed, I also use elementary os loki and the same problem.
Same here, Elementary OS Loki, Unity 2018.2.5f1.
I can also confirm that it works fine with 2017.4.10f1.
@PavleSan @splawplay @pedroaguiarsantos1
Hi guys,
after much experimentation I finally got this to work using:
GTK_CSD=0 /path/to/Unity/Editor/Unity
Works fine for me now under Elementary OS 0.4 (haven’t tested 0.5).
Also see Gtk – 3.0
3 Likes
ma1onso
October 28, 2018, 12:34am
6
This solve my problem on elementary os 5.0, thanks
Worked for me! Thanks a lot! Btw, how have you come to this solution?
I have to mention that everything that opens the OS’s native file browser is not working.
It fixes but as pedroaguiarsantos1 said, it won’t open native file browser.
GenaSG
September 5, 2019, 9:01am
10
Doesn’t work for me when using UnityHub. I start unity from folder with GTK_CSD=0 but it starts UnityHub. And Unity from UnityHub starts with GTK_CSD=1. Maybe someone knows how to edit variables that UnityHub pass to Unity?
P.S. I’m testing it on Elementary os 5.0.
Try this
GTK_CSD=0 /path/to/Unity/Editor/Unity./Unity -projectPath /path/to/Project/File/Root
4 Likes
GenaSG
September 5, 2019, 6:56pm
12
This one works. Thank you. So the only issue left is open/save files dialog not showing up but I can leave with it.
Edit:
Answering my own question.
Adding GTK_MODULES=gail:atk-bridge solves the issue with file chooser.
I hope that’s the last bonus issue with Unity on elementary os and linux in general.
4 Likes
iKazine
September 9, 2019, 6:30pm
13
Doesn’t seem to be an issue with the DE. Using Fedora with KDE Plasma 5.15.5 and cannot scroll. Solutions given do not work since KDE isn’t using GTK and instead uses Qt.
Using Editor 2019.2.3f1.
i can’t have whatever 2018 running at all - is it caused by some missing or incompatible library in the system?
Oh, works like a charm with Unity 2019.2.15 on my elementary OS 5.1 Hera! Thanks alot!
1 Like
Thank you No i have this Problem that pops up while unity is loading;
I installed the needed unity versions via the hub which i got over the elementary os app center.
And via the hub i activated a free license~
i also tested other commands to "log in"to my account via the terminal but -batchmode -username & -password or -force-free does not work https://docs.unity3d.com/Manual/CommandLineArguments.html?_ga=2.93551451.779527264.1576248360-1663354835.1575454830
Got it working via the manual activation Process by generating a request key in the hub
going to the manual activation website and generating a key
after downloading the activation key you can use (or i used, i dont know if i need the GTK command )
GTK_CSD=0 /Path/To/Your/Unity/Version' -batchmode -manualLicenseFile '/Path/To/Your/Unity/License.ulf'
Greetings,
Jass
1 Like
Jasperle:
Thank you No i have this Problem that pops up while unity is loading;
I installed the needed unity versions via the hub which i got over the elementary os app center.
And via the hub i activated a free license~
i also tested other commands to "log in"to my account via the terminal but -batchmode -username & -password or -force-free does not work https://docs.unity3d.com/Manual/CommandLineArguments.html?_ga=2.93551451.779527264.1576248360-1663354835.1575454830
Got it working via the manual activation Process by generating a request key in the hub
going to the manual activation website and generating a key
after downloading the activation key you can use (or i used, i dont know if i need the GTK command )
GTK_CSD=0 /Path/To/Your/Unity/Version' -batchmode -manualLicenseFile '/Path/To/Your/Unity/License.ulf'
Greetings,
Jass
please help me more and save my life bro how change GTK_CSD=0 in 2019.4 ?? where write command i install hub from flathub
To fix scrolling issues and the file dialog issue with Unity 2020.1.12f and Elementary OS 5.1.6 Hera, this worked for me:
GTK_CSD=0 GTK3_MODULES="" /path/to/Unity/Editor/Unity./Unity -projectPath /path/to/Project/File/Root
mrcmrcmrc:
To fix scrolling issues and the file dialog issue with Unity 2020.1.12f and Elementary OS 5.1.6 Hera, this worked for me:
GTK_CSD=0 GTK3_MODULES="" /path/to/Unity/Editor/Unity./Unity -projectPath /path/to/Project/File/Root
No idea what this does but it also worked for me thanks! Was just about to install Ubuntu again
ulvido
January 3, 2021, 8:25pm
20
GTK_CSD=0 fixes the problem for me. I use UnityHUB from AppImage. So I created a unity.desktop file for my unity.
google and download a unity transparent png for the icon.
open a terminal:
$ cd /usr/share/applications
$ sudo nano unity.desktop
paste these text and change Exec and Icon paths according to yours.
[Desktop Entry]
Name=Unity
Comment=Game Engine
Exec=env GTK_CSD=0 /home/ulvi/Downloads/kurulumlar/UnityHub.AppImage
Icon=/home/ulvi/Pictures/unity.png
Terminal=false
Type=Application
Categories=IDE;Development;
Ctrl + X >> Y (yes) >> Enter
you may or may not need to reboot.
you should see your Unity shortcut icon among with your other applications. If you run it from there it will start with GTK_CSD=0 enabled.
enjoy.
Unity: 2019.4.17f1
Distribution: elementary OS 5.1.7 Hera (based on Ubuntu 18.04.4 LTS)
Kernel: 5.4.0-58-generic
GTK: 3.22.30