#🐧┃linux

1 messages · Page 2 of 1

mental coral
#

long video, but the nvidia install part is very short

latent thorn
#

The video I watched used that command and enabled the thing in KDE discover, but after turning of Secure Boot (since it doesn't seem to work with the driver) and booting back to Fedora it said the only supported resolution of my monitor was 720p or something like that (which I knew was wrong cause I have a 1080p monotitor and everything was enlarged looking) but running nvidia-smi said the driver was installrd

mental coral
#

make sure the nvidia-drm line is in grub, and everything should work. so when you used to pulldown to change resolution, only 720 was shown at the top (highest res)?

#

also, you can make a MOK to leave secure boot enabled, but it is just a hassle to me. i disable it.

latent thorn
mental coral
#

hmm. it should look more like this., (ignore the multiscreens)

prisma topaz
#

Is Wayland support here yet?

#

Or is unity still garbage still on Linux?

mental coral
#

Wayland is fine. Unity still runs through XWayland, which is fine.

#

i say that as someone who runs dual nvidia, and also onboard headless UHD

dusky helm
#

Need some assistance,
Auto refresh is enabled yet when i update scripts unity doesnt recompile untill i press reimport on that script everytime

mental coral
#

that happens often when the IDE and Unity lose sync. does it fix itself after closing both and re-opening?

#

@dusky helm

dusky helm
#

Unfortunately no.

mental coral
#

and when you open a script, by double clicking it in Unity, it opens your IDE and appears there?

#

@dusky helm

#

if you would prefer me not to ping, just say and i will simply await responses

mental coral
#

in that case, since they are linked properly, i honestly have no clue. perhaps someone else will have seen it before

dusky helm
#

Could nixos be the issue?

mental coral
#

i suppose it is possible. it is certainly not a supported distro, and others have had problems in general with it and Unity

dusky helm
#

Cause the script doesnt show itself as updating on unitys end untill i re import

#

Maybe another factor is that im accessing the project from my server and not local machine :/

mental coral
#

they could all certainly be issues, but with such a specific setup, it is almost up to you as it is unlikely anyone would be able to assist with that.
but, a quick check.. VSCode is a system level install, not a sandboxed flatpak or similar, right?

#

also, when local, does it work?

dusky helm
#

Ill test local. And yes its a system level

dusky helm
#

Was missing .net sdk8

mental coral
#

you may end up with further issues if you use sdk8 and not 10. if possible, i suggest upgrading to sdk10 as the VS plugin requires that, and you will find you cannot open your .slnx, since you are running 8. the other option is to downgrade the VS plugin in the Unity Manifest, which will make regular .sln again. i think x.x.23 was the last version that worked with 8. @dusky helm

dusky helm
#

Oke will do. Thx

latent thorn
mental coral
#

Mint was the first distro i really felt comfortable/at home in. It justs lags to far behind for my technical requirements

mental coral
latent thorn
mental coral
#

yeah, 8 is not sufficient

latent thorn
#

Install 10 then?

mental coral
#

preferably, yes. for futureproofing and current function

latent thorn
#

Nevermind already have 10 installed

#

Thought I had 8.0

mental coral
#

cool deal. i think you might be ok on Mint then

latent thorn
#

I mean debian/ubuntu

mental coral
#

i personally cannot stand gnome. KDE works for me, and XFCE, and Cinnamon even, but Not gnome

#

but, do keep in mind, only Ubuntu is actually officially supported

latent thorn
mental coral
#

yeah, good balance

latent thorn
mental coral
#

not for 'official' support/compatibility, but functionally, probably

hidden birch
#

firestore sdk

#

doesnt work on headless server

#

is there a way to fix it

onyx raven
#

Hello there! I was curious to know if there was any way to run Unity on Linux with proper scaling? I tried a few different ways but it always ends up looking really blurry. (I'm using Fedora KDE Wayland).

mental coral
#

also, if possible, set your screen scaling to 100% or 200%. Fractional Scaling will always add a bit of blur, i.e. 170%

#

I am on Fedora 43, KDE, Nvidia, Wayland. seems good here, but i do recall issues with earlier Plasma versions and settings.

onyx raven
mental coral
#

you can try something like GDK_SCALE=2 GDK_DPI_SCALE=0.5 unityhub
add the scaling lines to your launcher, and experiment to see what matches your 125% scaling @onyx raven

#

iirc, the args passed to Hub affect the Editor.. it has been a while, so iforget, but i do recall, it was somewhat complex in the end. Now though, for some reason, it is 'just working' for me.

#

i am on a different install now (still Fedora KDE), and never added the scaling args, and i just worked. my previous install required tweaking. perhaps also make sure your entirely updated on Fedora

opal cedar
#

so is there a way to get newer versions of Unity work on CachyOS?

#

right now last version on the hub is 6.3.1. I heard there are newer ones

latent thorn
# opal cedar so is there a way to get newer versions of Unity work on CachyOS?

Unity only offers download instructions for the Unity hub on Debian/Ubuntu based systems and RHEL/Centos based systems which Ubuntu being the only one they provide support on and actually test with as far as I know. I'm pretty sure that there is a UnityHub package on the AUR but it's community made and not actually from Unity themselves. Just giving the information that I know so far so I can at least help a little bit... I don't know much about Arch/arch-based, hopefully someone else has more information than me.

opal cedar
#

i know iot is an AUR package, was just wondering if i could forcefully get a new Unity version. Did the same in reverse on Ubuntu with Blender and got the latest version working, maybe i can download a newer Unity version and somehwo connect it to the hub

lone sand
#

has anyone tried building unity on linux mobile? I'm seriously thinking of moving away from android with google's push to prevent sideloading and the freedom to run whatever I want on my own phone

mental coral
onyx raven
mental coral
#

try this
GDK_SCALE=1 GDK_DPI_SCALE=1.25 unityhub

onyx raven
mental coral
#

yeah, that was the mentioned "iirc is was somewhat complex" in the initial exchange. have you by chance tried those specific numbers? you might end up with small menu headers, but the rest will be ok., hopefully

#

hmm. if GDK_DPI_SCALE is not affecting the main window, sounds like it might not work for you then. that sucks. hopefully they will adopt Wayland soon

#

@onyx raven I might be tricking myself with a cached setting, but this seems to work..
unityhub --force-device-scale-factor=1.25

#

also, you have this set this way, correct?

shrewd stratus
#

I myself use this and it looks okay on my 150% scaling

trim vine
#

Does anyone else get a bug where you have to log in way too often

#

I'm not sure if it's every reboot

#

or every few times I open Unity Hub

#

it doesn't even ask for a code or anything I just put in my password and it works

mental coral
mental coral
trim vine
#

I can confirm it does happen every restart

#

gnome

#

not sure if it happens if I don't restart for a while

mental coral
#

hmm. i had seen that on older KDE, but i had not seen that on gnome. i think you have to create a specific text file or folder. one minute, let me see if i can find the message with the solution

trim vine
#

it just happened and I didn't even restart

mental coral
#

the message i was looking for is gone. do you know what gnome-keyring is?

trim vine
#

yeah but i've never used it

mental coral
#

ok, if you've never changed anything there, that is probably not the issue then.

#

try this
mkdir -p ~/.config/unityhub
touch ~/.config/unityhub/credentials

oh.. you are not using the flapak version or appimage, right?

#

@trim vine

trim vine
#

I am using the flatpak version

mental coral
#

ok, uninstall that and install the rpm version following the instructions on the unity hub install for linux web page. that is why it is doing that

trim vine
#

I think that's probably gonna fix a lot of other issues I'm having

mental coral
#

yeah, for hub, and vs code, you 'have' to do full system level installs for things to work properly

trim vine
#

I do remember i had an issue with installing that version

gloomy holly
#

I use Unity for making own Games and VRChat Avatars and Worlds.
For making own games, I use modern Unity version like 6000.3.9LTS but everything realated to VRChat is forced to use Unity 2022.3.22f1. I switched yesterday from Windows to Linux with everything Unity-realated to get more and more rid of WIndows, Unity 6.3 works perfectly for me, I use Vulkan of course because its so much more stable and with so much more FPS and less framedrops than OpenGL. But sadly, I can't use Vulkan as my Editor Graphic API or else as soon I select it, Unity will no longer open up without crashing and I lock myy self out of the project, unable the set it back to OpenGL.
So I figured out, using Vulkan on this Unity 2022 project is a really bad idea, atleast for my Linux OS: "Linux Mint 22.3 - Kernel 6.17)

Is there any workaround to make Vulkan also work for Unity 2022.3.22?

mental coral
#

i do not have 2022 installed, but have you searched to see if it is a known issue?

prisma topaz
mental coral
prisma topaz
mental coral
# prisma topaz i mean if it works you're a lifesaving

it definitley works for me.. the other person did not seem to like the scale it provided, since he was using fractional scaling instead of integer. i.e. 125% instead of an even 100% or 200%. i was fine on 170%, so it may have just been that person personal visual preference. what scaling do you run normally?

prisma topaz
#

tried godot out for a couple of months but it kinda sucks ngl

mental coral
#

you mean, UI text, or in the viewport?

prisma topaz
#

just the editor in general

mental coral
#

so, small editor ui text, button, etc. yes, those settings will fix that, for sure. the 3d viewport (game/scene) have their own scaling of 3d content, so that will not be an issue, regardless of anything else

prisma topaz
#

been awhile since i had to use it

mental coral
#

application launcher is the menu you are talking about, that pops up if you press Start/Meta/Windows key

prisma topaz
mental coral
prisma topaz
mental coral
#

probably best to just start the Essentials Pathway over on the Unity Learning site

proven rivetBOT
#

:teacher: Unity Learn ↗

Over 750 hours of free live and on-demand learning content for all levels of experience!

honest kestrel
#

I'm on KDE Plasma 6 using Wayland. It is very difficult to arrange the tabs in the Editor, it's extremely buggy.

Is there a fix / workaround?

#

Should say this happens in Unity 6 series.

trim vine
#

why does C#/Unity Specific Intellisense barely work for me

mental coral
proven rivetBOT
mental coral
#

oops

proven rivetBOT
trim vine
#

I downloaded the C# and Unity extensions

mental coral
#

make sure you have dotnet sdk 9.3+ or dotnet sdk 10 installed, i recommend 10

#

does it open vs code when you double click a script in Unity?

mental coral
#

yeah, then ensure the proper dotnet sdk version before much else

#

also, in Unity, Regenerate the project files after ensuring version

#

So, to make sure i understand "I downloaded the C# and Unity extensions" you mean, the Unity extension in Vs Code? which then also pulls the three other extensions?

#

and this is of course assuming you removed the flatpak version and installed system level hub

#

and vs code

trim vine
#

I already downloaded the C# ones beforehand

mental coral
#

ok... and what version of dotnet are you running? what did regening the project do.. help people try to help you

trim vine
mental coral
#

probably dotnet --version

waxen galleon
#

been trying to build an andriod build but it keeps giving this error
/Unity/6000.3.8f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: not found

tried alot of stuff including reinstalling the whole editor and modules to no avail, any tips for this ?

mental coral
#

i have no experience with that toolchain

#

if i were testing, i would try in 6000.71 and see if it works there. this is of course after searching for the issue

pallid moon
#

Why does unity include a version of clang 😐

mental coral
#

that is what i really do not know.. IS it included, or is this a cryptic way of saying, install it

pallid moon
#

With how weird linux binaries are with lib versions i wouldn't be surprised if they do just bundle a specific clang version

#

I learnt that quite quickly thanks to glibc and source modding 😐

mental coral
#

very true

winged echo
#

Does anybody else have a issue where the PulseAudio mixer just takes a huge chunk of one frame every few frames?

#

I should note that I have absolutely zero audio playing

trim vine
mental coral
#

ok, so do what i mentioned

trim vine
minor pewter
#

I have a .rar file from archiving my unity project for my linux transfer will I need to remake the entire game or can I just link up my project to unity hub

#

the project was made in WIndows

mental coral
#

it should mostly 'just work'. not an uncommon thing to do

minor pewter
mental coral
#

yes, that much is obvious, or you wouldn't be asking 🙂
best to just try it and see

mental coral
#

just post to the room, no need to ping me.
Have you researched aka, googled yet, to see if there is something you need to do, like delete the library if you copied that too?

minor pewter
#

replying automatically pings and I can't google without any error message

#

its just blank

#

fixed it by installing and uninstalling a package

mental coral
#

yes, i mean, no need to 'reply', just post to the room.

#

cool deal.

mental coral
#

Note about startup times for Hub and Editor:
Unity Hub and Editor should both take seconds/10s of seconds to start, not minutes, on a modern machine (not going to argue about what is modern). if you notice long start times, try installing or removing something in Package Manager. if that also takes a strangely long time, this is most likely an IPV6 issue. i had to disable IPV6 on my Linux as it was causing 75 second delays.

spring matrix
#

Should I get linux on my new pc?

spice adder
mental coral
#

Linux gives you more control over, well, everything vs windows. with this ability comes a massive learning curve. Maybe the learning curve is the wame with windows, i've forgotten since i have been using windows since at least 3.1. thankfully though, like it or not, the AIs (google gemini specifically and perplexity.ai) have been very helpful for linux config needs.
if you do pick linux, be prepared for manual intervention for many things in the first month until you get it all configured. i recall Unity simply not working on a distro, and the solution was manually creating an empty file in a folder. things like that.

eager robin
glad frigate
#

is there a way to change the font size in the unity editor on linux?

mental coral
glad frigate
mental coral
# glad frigate

This is my launch settings for a 4k screen at 170% fractional scaling. this will enlarge the fonts
env GDK_SCALE=2.0 GDK_DPI_SCALE=0.5 /apps/UnityHub/usr/bin/unityhub %u

glad frigate
#

where can i find this settings? im new to linux

mental coral
glad frigate
#

im running ubuntu

#

i think its gnome

mental coral
#

then GNOME, unless you manually added KDE.
Sorry, i do not get along with gnome so i do not use it, at all.
you would have to google something like 'how to add launch args, gnome'

#

you Can try using the line in a terminal, just to make sure it works

glad frigate
#

ok thanks i think i fund a workaround

mental coral
#

ok, what did you find, if i may ask?

glad frigate
#

i just scale the display to x125% and that also scales unity

mental coral
#

true. if that works for you then rock on!

mild pulsar
#

Question: How does Unity use the sysroot packages when making a build? (Specifically the one licenced with GPL code). From what I've found, Unity only uses it to compile the code instead of including code though can anyone directly confirm it?

mental coral
#

what is your actual concern?

#

if you are worried about this triggering the 'copyleft', it does not

mild pulsar
#

Oh it doesn't? That's good. That's all I cared about so thank you for your help!

vital vector
winged echo
vital vector
winged echo
#

I haven't really looked into it because its just driver funsies and I'm developing, I'd look into it if I were to make a build or release

winged echo
#

Or do you mean something else?

vital vector
#

I mean.. the audio thread is still taking 20ms+ and what not. But my issue was actually from a bad camera controller script I had.

winged echo
#

I see

mental coral
#

are you guys profiling the build, or profiling while the editor is open?

winged echo
#

My screenshot there is on the editor on Play Mode

vital vector
#

the build

#

both tho

mental coral
#

it would not be too suprising In editor, but in build, yeah, that seems a bit much

vital vector
#

I'll have to retest to make sure

#

But iirc it WAS both

winged echo
#

I don't experience that kind of stutters on Unity games

#

Though at the same time I might be running them through Proton in steam

vital vector
#

Well as far as the editor is concerned, I'm starting to think there is little reason to profile in editor outside of a handful of cases

mental coral
#

i mean, if your system is set to resample audio, that will add overhead. if there is a pipewire translation from pulse, that will add overhead. so many different things.. does it change at all if you set your audio mode, at system level, to Pro Audio?

winged echo
#

Haven't tried, could later

vital vector
#

im ngl, I had to fix some pipewire to pulse audio issues a while back and have zero intention of messing with audio again 😂

#

Unless i start gettting issues again obvi

mental coral
#

yeah, it is no fun, for sure

winged echo
#

Still happens even with Pro

#

There might be something wrong with fmod, dunno

mental coral
#

i wouldn't know. no experience there. please do let us know if you figure it out though

vital vector
#

I might be understanding this wrong, but if Audio runs on a seperate thread, it shouldn't be causing hitching unless something is waiting on it right?

#

Like, assuming nothing else is waiting / depending on the Audio thread, then it could completely freeze and the game should still run?

winged echo
#

It's a empty scene with no camera but hmm

#

I was gonna say that it could be the Runtime Content Manager but that's actually in nanoseconds

#

There's 2 frames that have a spike, the first is because of the audio thread, the second is because of the audio thread and UIR.Job.ConvertMesh, which I have no idea what it is

#

You can check Im not playing any audio at all

#

It calls twice, one taking 16ms

#

Like I'm unsure if im reading the profiler right, but I don't see anything else

#

When I enter play mode, shortly after, it takes a insane +200ms in one frame

mental coral
winged echo
mental coral
#

as far as Moderation is concerned, this would be a double post. please move your post to here, instead of forwarding

blazing oak
#

Linux (CachyOS) basic editor functionality issues: I just tried troubleshooting with gemini, but was unable to find anything that actually fixed it. I had it summarize everything I have tried.

Unity 6000.3.7f1 on CachyOS - UI & File Watcher Issues

Rect Transform Modifiers Ignored:
Alt/Shift inputs drop entirely inside the Rect Transform popup.
Already tried: Rebinding OS Alt window drag to Meta, forcing X11 (GDK_BACKEND=x11), setting Unity Input Handling to "Both", and disabling NumLock/CapsLock.

Script Auto-Refresh Disconnected:
Unity ignores external IDE script saves. Manual refresh (Ctrl+R) is strictly required. Window focus events do not trigger it.
Already tried: Increasing inotify max watches/instances via sysctl, verifying native Linux file system (no NTFS), regenerating .csproj files, and confirming native package installs (no Flatpak).

Are there known KWin rules, kernel parameters, or missing dependencies in CachyOS to unblock Unity's UI event routing and inotify file watchers?

mental coral
#

i am on CachyOS, KDE. what is the best way to reproduce the issue?

#

as far as the loss of connect between IDE and Unity, that is usually resolved by closing the IDE and re-double clicking the script in UNity to open it again.
You said you are not using flatpaks, so are you using the Unity Hub (unofficial) Appimage? what IDE, vs Code?

#

oh.. you may be using AUR. i have that disabled due to the usual issues with AUR in general

#

i am sure it is me, but i jsut do not understand exactly what this means "Alt/Shift inputs drop entirely inside the Rect Transform popup."

blazing oak
# mental coral i am on CachyOS, KDE. what is the best way to reproduce the issue?

Rect Transform - In my scene, I have a Canvas and Panel. On the panel I have a parent called buttons with a hand full of buttons on it (think main menu). I added a Vertical Layer Group on the Buttons. When clicking the box in the top left of the rect transform to modify the position and pivot with Alt or Shift or Both, alt and shift don't do anything. Alt works just fine everywhere else, like scene view camera movement.

Auto Refresh - I am using actual VS Code. Code was too nerfed for me, and even still, it wasn't working there either.

  • To test this, I modified an existing script with a DebugLog in Start to test it it with the console. It just won't refresh automatically when returning to the editor.

Its been a while since I installed it and can't remember what I did. I'm relatively new to linux

blazing oak
#

Should have mentioned the "Anchor Presets" box. sorry.

mental coral
#

no worries. and you have experience with this on windows to know how it Should behave?

blazing oak
#

Correct. Both issues work fine on my windows PC at home.

mental coral
#

ok. what i can tell you is that it is working fine here, on my CachyOS, KDE install. so, this is going to be a tough one to figure out

#

have you done the usual first step for these kinds of oddball problems, which is deleting the Library and letting it rebuild?

blazing oak
#

I'm not opposed to just reinstalling the OS in a few weeks when I'm less busy. The refresh I can sort of deal with but the Rect transform is a blocker.

blazing oak
mental coral
#

yes, both are working here, so a reinstall might not be a bad idea.
Did you use the AUR, or did you extract the Appimage for hub?

blazing oak
#

I likely used the AUR.

mental coral
#

Ok, perhaps on the reinstall, try extracting the Appimage (it is not official, but neither is the AUR)

#

also, have you reset all keybinds to default, to test? annoying, but maybe worth it

#

i have to go over my notes to see if i added any libraries. i do not think, in the end, that i did. this whole mess took a bit of back and forth with gemini though, so i may have forgotten i added something

blazing oak
mental coral
#

to make sure, you are able to double click a script and it opens in VSCode, right?

#

also, i am not finding any notes that suggest i had to add any additional libraries

blazing oak
#

VS Code opens, I modify the script, save it, return to Unity... nothing happens... right click and refresh or ctrl+r.

#

Obviously, if I don't do that, the code and any associated assets don't update.

mental coral
mental coral
prisma topaz
#

unity hub uninstalled itself lmao

mental coral
#

what distro, and describe the circumstances, like an update

prisma topaz
#

happened twice now. dont think ill be reinstalling the hub unless i need too

#

aka security things

mental coral
# prisma topaz yeah an update removed the hub but not the editor. fedora.

fedora repos are in the middle of a big mess. i actually went to cachyos because of it. i literally left cachyos to go back to fedora, and instantly regretted it. you can try reinstalling the entire thing by starting at the Unity webpage and reinstalling the Keys (run the scripts for RHEL on the install page) this will update your repo list, and hopefully allow you to reinstall the hub. But, it sounds like you are fine launching directly. i guess you do not need to make any projects ATM

prisma topaz
#

but either way

mental coral
#

Oh, did not know that wa still a thing! i thought it got removed

prisma topaz
#

ive committed to fedora for like... 2 years

#

actually not thats just linux in generall

mental coral
#

yeah, just a bump in the Linux road. they will resolve it

prisma topaz
#

i think its 5-6 months on fedora?

mental coral
#

i like cachyos kde. much smoother due to v3 repos, and v4 if your CPU supports it. Fedora is supposed to start offering v3 at the end of the year, but we'll see

prisma topaz
#

and it says i already have unityhub

#

strange

mental coral
#

as long as you do not use the AUR, i would say cachyos is as stable as fedora

prisma topaz
#

guess ill uninstall and reinstall

mental coral
#

wait..

#

are you running nvidia?

#

@prisma topaz

prisma topaz
#

no

mental coral
#

ok, you should be fine then (major issue with nvidia on fedora ATM, missing vulkan lib. would affect Unity)

prisma topaz
#

i had to do the command for it like 3 times before it worked

#

jesus this unity situation on linux is broken

#

at least i got unityhub again

mental coral
#

it is actully pretty decent, but fedora is having issues right now. other than having to install a legacy library (literally pacman install thisx) Unity has been great on cachyos, and was fine on fedora, before the repo screwup

prisma topaz
#

yeah idk whats happening with fedora recently

#

but i kinda like it over here

#

its kinda a comfortable line of usability and the latest updates

mental coral
#

yep. just a temporary screwup, but a significant one. it will settle.

#

seems i am a glutton for punishment. i distro hop at the first sign of a 3 millisecond too long delay in something 😄

#

actually, it really helps me understand the issues when people come in asking questions about different distros and Unity issues

prisma topaz
#

but i kinda have a very new gpu and cpu and it didnt support it at the time

mental coral
#

Mint was the first place i felt at home on Linux 🙂

prisma topaz
#

so i distro hopped. to fedora

honest kestrel
#

On GNOME how do you force Unity Editor's main Toolbar (the one at the top) to respect your decisions on a theme?

#

By this I mean for the love of God: respect my Dark Mode preferences...

#

It also does this crap on Microslop Windows too.

honest kestrel
#

On GNOME it's: gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

Solved it.

#

Though I am not using GNOME 50 because Search Light isn't working and I'm not about to experiment with which application launcher works as a replacement.

drifting yarrow
#

Help how to download unity on linux through the code and run

mental coral
#

sorry, that makes no sense. please use a translator if needed

#

"download unity on linux through the code"..

drifting yarrow
#

Or how to download at least and run (via the Internet)

#

If anything, I'm Russian

mental coral
#

did you attempt to follow the instructions on the Unity Install on Linux page? you might be able to follow the instructions for Ubuntu, as i think Mint also uses apt

#

there is also an unofficial appimage

#

make sure you do not attempt to use flatpaks for hub or vscode as it will never work.
at this point in time, the Visual Studio plugin, which makes the .slnx, requires, essentially, dotnet 10. it might work with dotnet sdk higher than 9.3, but it is hard to say. Mint might not have this in their repo. if they do not, you are in for a long fight

eager robin
#

The official Unity docs works for Ubuntu 24.04. I got it working in 25.10 and now 26.04 as well with some googling

mental coral
#

yes, Ubuntu is the officially supported distro. the person above was asking about Mint, if that is what you are commenting about

analog crown
#

is there a way to make directory monitoring work in unity 6.3 on arch? i really dont want to press ctrl r all the time.

mental coral
#

again, explain what you mean

analog crown
#

when i change a script for example unity doesnt recompile by itself even though auto refresh is enabled. in preferences it says directory monitoring is only available for windows

mental coral
#

when i edit a script in vs code, i then save it. i then click back to Unity and it recompiles automatically. i an on cachyos (arch based), so, all i can say is, i did not need to jump through any hoops. it just works

analog crown
#

huh thats weird. could it depend on the de/wm?

#

im using hyprland which makes many things work less well maybe thats the cause

mental coral
#

perhaps. i use KDE Plasma

#

i would imagine you are correct.

analog crown
#

theres a github issue about it from aug 2024 they provided a temporary fix im gonna try that maybe it works

wary oxide
#

Linux distro upgrade season is upon us, I'm on Fedora 42 now and looking to move to 43, has anyone been using it as a daily driver?

mental coral
# wary oxide Linux distro upgrade season is upon us, I'm on Fedora 42 now and looking to move...

43 is recently in a major repo failure issue. they cross referenced packages incorrectly and have literally bricked some machines. this seemed to affect nvidia users more than others.
the best experience i have had so far is cachyos. fedora being a close second. the v3/v4 repos that cachy has speed everything up. as an nvidia user, cachyos had 0 headaches regarding nvidia compared to fedoras literal 20.
if you are AMD, i would just check the state of the repos on the date you are thinking of changing. if the consensus is that the repos have stabilized, 43 was, in general, fine. 44 is just around the corner though, so you might want to hold of. and 45, coming around october, is supposed to have v3 repos, but we shall see.
bottom line, if on nvidia, i recommend cachyos over fedora.

#

note, 'all' arch distros are rolling releases, but honestly, so if fedora. just something to keep in mind. i have actually had more stability on cachyos than on fedora, but again, 99% the issues i experience are due to nvidia.

#

if you go with cachyos, us the march 8th 2026 iso

wary oxide
# mental coral 43 is recently in a major repo failure issue. they cross referenced packages inc...

I do have an AMD GPU so at least I do not have to worry about those classic shenanigans. I did install 43 on a virtual machine, of the bat... drag dropping a file into unity crashed the desktop...although after updating all the packages it worked. So at least no install problems, even 44 launched unity and it seems to work, but I usually stay a year behind... So I'm quiet conservative. Fedora became my escape from Ubuntu and worked without issues so far, perhaps I try Cachy in a virtual machien for fun 🙂

mental coral
wary oxide
# mental coral note, cachyos is the opposite of conservative :D. no harm in trying the VM thoug...

It's 6000.3.14f1, but I suspect that it wasn't entirely a Unity thing, as it crashed out of the session. I had to literally log in again, the crash happened on 43 directly after install from ISO. It behaved after running sudo dnf update

On Fedora 44, it doesn't crash directly after install but it outputs the error below, when dragging a file over the project pane.

ReleaseButton expects buttonId >= 0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)
mental coral
rustic crane
#

Does anyone know how to get the Windows Build Support (mono) on Unity to work. Every time i try to install it i i get an Installation Failed error. Im on Fedora Linux 43 (Workstation Edition)

rustic crane
#

Nevermind i just had to run "sudo dnf install p7zip p7zip-plugins cpio" in the terminal

wary oxide
#

@rustic crane How much time have you used Unity with Fedora 43?

wary oxide
mental coral
#

SNAFU - Situation Normal, All Screwed Up ^

wary oxide
# rustic crane about 12 hours lol

Cool, much more than my 15 minutes, please keep us posted on how you get along! I used unity on Linux for 5 years or so...pretty solid, all works well in general

mental coral
#

i recently left fedora for cachyos, but i had no issue with Unity on 43, just to add my two cents

wary oxide
mental coral
#

Yes. did you have a specific question about it, or just trying to get a sense of it all

wary oxide
mental coral
# wary oxide Ahh sorry, yes... I work full time using Unity on Linux so need it to be reliabl...

well, yes and no. as was seen recently, an issue with the fedora repo can cause a lot of problems. if you get it working and do not update/upgrade, then it will be as stable as day one. any update of any package on the system can mess things up. using btrfs is an option, and you can do snapshots, so if an update ruins the stability, you can just, basically, single click restore to the state before the update. btrfs is complex, and is a royal pain to repair if something goes wrong. I use ext4 and a bunch of external HDDs to back up my work. you have to find your comfort zone as far as backups and risk goes

#

thankfully, i have multiple internal drives, so i was able to keep a couple distros at once. if possible, it seems wise

wind geode
rustic crane
#

I am noticing an issue where pressing "open in unity" on the unity asset store it doesnt open unity

rustic crane
#

and i have figured out the thing called a checks notes package manager

honest kestrel
#

Riddle me this. What is broken about the Flatpak?

#

Why should I not use it?

#

Use case is on Bazzite / Aurora Linux where /home is actually a symlink to /var/home which Unity despises greatly.

honest kestrel
#

Because the thing is I don't want to maintain a distro and commit to making a game at the same time. The allure of a system that always works with 0 fuss is real.

honest kestrel
#

My ticket is still open.

mental coral
#

regarding the 'open in Unity' the first step is to make sure you have allowed this

mental coral
mental coral
#

bazzite worked, but i simply did not like the atomic nature, and the fact i had little control over core things, since it was atomic.

honest kestrel
honest kestrel
#

This was a once a week affair for a bit.

mental coral
#

never had any issues like that, and i run dual nvidia, multiple screen, multiple drives, etc. that is just strange, but entirely Not unheard of for arch rolling distros. that actually describes what happened to me on fedora when they recently screwed up their repos

#

Oh.. i do not use AUR. that Will happen if you use AUR, on any arch distro (it is a matter of time)

honest kestrel
#

That is the appeal of atomic. "oh update failed, let me roll back to the previous image".

#

Pretty painless that way.

mental coral
#

you can do the same with btrfs on just about any distro, but yes, that is what drew me to try atomic distros

#

there were just too many 'black boxes' on bazzite for me. too many 'magic scripts' that i did not really have control over.

mental coral
#

what error are you getting with the 'open in Unity' button?

mental coral
#

i have so far been unable to 'fix' the 'open in unity' issue. it seems the Hub is not forwarding the call to the open Editor properly

#

just in case someone does not know, all your assets are accessible through the package manager in Unity Editor. the "Open in Unity" was just a shortcut/secondary way to open the package

honest kestrel
honest kestrel
#

I reported it up a while back.

mental coral
#

did you by chance have a link to the bug issue page of it?

honest kestrel
mental coral
#

no worries. if/when you get around to it, i can upvote for a fix

#

i use different means, so it does not affect me a lot, but would still be nice to have back

honest kestrel
#

I use Asset Inventory 4 so it also doesn't impact me too much.

mental coral
#

same. i am quite annoyed with it, but i manage to use it as a list, at least. i came up with other solutions for actual asset imports, but AI does a good job at letting me preview things. i am just entirely feed up with the regression bugs. i report, they get fixed, then next minor release it is back. although a great idea, and working well for many, it is not what i need.

steel turret
#

forwarding here: does anyone know why whenever i open a sub menu (like texture in shader or a list of layers in navmesh) - the menu turns pitch black and makes unity completely unresponsive? im on ubuntu 25.10, with unity 6.0. i think ive updated unityhub and nvidia drivers recently

mental coral
#

OpenGL or Vulkan (you could try switching between them and see if it fixes it)

steel turret
#

it worked fine before, thats the thing

#

im on vulkan

mental coral
#

"i think ive updated unityhub and nvidia drivers recently"
this means that the vulkan and mesa packages would have changed.

#

Fedora recently entirely crashed nvidia users OSes due to a repo issue.

#

that is my suggestion, up to you if you want to try it or not.

#

you can also run the editor directly from CLI and see if there are any error messages

steel turret
#

no idea what cli is

mental coral
#

command line interface, like Konsole on KDE, or maybe Terminal on gnome

steel turret
#

konsole, ok

mental coral
#

but really, if you just flip to openGL my guess is it will fix it

steel turret
#

im more used to calling it cmd

#

cuz i came from windows

steel turret
#

because im on 595

#

and maybe they're the cause

mental coral
#

so am i.

#

you are choosing to change the tires instead of shifting gears, but hey, you do you

steel turret
#

maybe because vulcan is my preferred choice

mental coral
#

curious if you have a specific technical reason for that, or just a choice

steel turret
#

oh yeah 580 definitely made menus faster. ill see in about an hour if it reproduces

mental coral
#

i had VRAM leaks with Vulkan

steel turret
#

interestingly enough, my 3d game ran fine for the entire month ive been developing it with my gpu drivers being corrupted :/

#

i have no idea how they corrupted but i only now noticed when i tried running an unreal engine game and got 20 fps

mental coral
#

do you run dual cards?

steel turret
#

integrated amd and dedicated nvidia

mental coral
#

you may have been running the game on the onboard

steel turret
#

yeah, but i thought my nvidia card was functionable

#

so i was very confused when i saw 20 fps in a game that ran at 120-150 before

mental coral
#

it very well could have been. often times, if you do not tell the game, in launch args, which card to use, it will go to the onboard

#

sometimes, a driver change can lock it to the corredct card for a time, then another update can knock it out. i make sure to put launch args to use my first nvidia, isntead of the second nvidia or the onboard

steel turret
#

oh yeah, i had problems with that thing before, but it was on flatpaks so i could use flatseal to correct it

mental coral
#

yeah, env args will do the same

steel turret
#

though im pretty sure steam automatically selects the dedicated card

mental coral
#

sometimes.

steel turret
#

i still tried a bunch of launch options before going to check my drivers situation

mental coral
#

well, you are up and running now, so hopefully it holds

steel turret
#

i would like to switch over from kde to gnome, but the drag and drop doesnt work properly there

mental coral
#

oof. i would not wish gnome on my worst enemy

steel turret
#

lmao

#

you also on kde?

mental coral
#

indeed

steel turret
#

i legit chose it only because it had color correction settings that i needed to adjust for my art

#

turns out - kde had a lot more in store

mental coral
#

it is in many ways technically superior to gnome

steel turret
#

i still miss the convenience of windows where most of the issues that im facing right now are absent, because developers of the apps im using put more care in windows versions than linux

#

davinci resolve is still stuck in like ubuntu 12 or something

mental coral
#

yeah? i thought i heard they updated it, but i do not use it, so it was just some snippet on some random website, most likely

#

but, to continue, if not directly Unity related, you should probably Thread

#

here on cachyos resolve is 20.3.2

steel turret
#

basically davinci resolve works on outdated distros, and if you want it to work on newer editions - you have to use something called Davincibox, and then you're limited to AV1 and VP9 as your footage choices, otherwise - youll have to convert your video files

steel turret
#

unity suprisingly works great on linux

mental coral
#

until you get black boxes in the inspector! 😄

steel turret
mental coral
#

indeed

heavy sinew
#

67

blissful nimbus
#

bro what is this kid on about sm "67"

vernal spire
#

hi
i need help i cant use unity for some reason
im on linux (cachy os, arch based distro) and when im using unity, fonts are very small in unity app
i tried 2x scale but its so big
how can i scale it 1.5x or else?
Murado — 21:48
does not have much to do with coding why post it here

noble lynx
#

in the editor, not in the built game, right?

#

can you show an example?

vernal spire
mental coral
#

change the path to match your install location

mental coral
vital vector
#

anyone have any clue why this might be happening?

mental coral
#

6.4? 6.0 would be the most stable currently. and you will have to provide details about your setup.

vital vector
#

6000.6.0a3 but it was also on a2.
Using Mint

mental coral
#

there is zero expectation that an alpha is going to work on linux.

vital vector
#

I WOULD go back to a stable version but on on the alpha version because the stable versions prior had OTHER horid issues that have been fixed in alpha

#

Such as not reloading domain

mental coral
#

that has not been an issue for others, in any of my experience

vital vector
#

I mean, it must've been because there was a patch note for it b4

#

The editor styles thing is somewhat new tho

mental coral
#

yep, just saying that i have not had anyone mention it, so perhaps an edge case. regardless, you should probably be reporting directly to Unity Support

vital vector
#

I was afraid that was the answer 😭

mental coral
#

if you want to eliminate most issues, i would suggest using the supported distro Ubuntu. well, honestly, i would suggest Kubuntu. I am on CachyOS myself

vital vector
#

I mean mint is just debian right? /s

mental coral
#

not 'just', no. it is a matter of what libs are included, and (insert blah blah blah here), etc

vital vector
#

I was being coy sorry

#

Either way, I'm more invested in getting it resolved on my current distro

#

Especially if it means I'd have to use Ubuntu

mental coral
#

i could see perhaps getting the original issue resolved on 6.0 but i would not hold my breath on on alpha. good luck though!

vital vector
#

I've been pleasantly surprised before. I'll reach out to support and hope for the best. Or try to figure out what caused the issue in the first place because it MUST be something I've done.

mental coral
#

well, as i said, i am on CachyOS, and have tested Fedora, and Kubuntu too with no issues. so, it does not have to be ubuntu, but you would need to troubleshoot. at minimum, run the engine directly from CLI and see what it spits out.

vital vector
#

Whats even stranger is that after I go into play mode and exit it, it fixes the issue until a dmoain reload

#

I'll do that tho

#

appreciate the insight though even if this ends up being a pita

spice adder
#

Linux mint. How well does 6.4 editor work?

mental coral
#

perhaps read the conversation above your question

civic lichen
mental coral
#

the one on flathub is not official. also, there are many known issue with communication between Unity and VSCode if trying to use flathub. What are you using for a code editor?

spice adder
spark field
#

Hi, anyone here running in problems with Unity 2022.3 or 6000.3 with race condition and VirtualArtifacts?
I've tried to delete Library Folder, reimport from Version Control, downgrade my Nvidia drivers, startet with LTS Kernel, nothing helps.
I am running Linux Mint 22.3 - with nvidia 5090TI - 64GB Ram and all drives are at least SSD.
Also tried to move the project from ssd to nvme, but didn't helped.
The project under Unity 2022.3 is quite heavy with 64GB - the other project with unity 6 is about 6GB

The VirtualArtifacts Problem started on Unity 6 when i did a inital Version Control Setup. After I cut this of, I don't have problems with this project.

Maybe someone has a hint for me. It drives me crazy. Is there a better distro for coding with unity than mint? I would give it a try but would be happy to fix this.

Problems started some days/weeks ago, but I could no figure out why.

mental coral
#

well, the only 'supported' distro is Ubuntu.
Fedora has an official install path, but it not classified as supported.
I am on CachyOS with dual nvidia and multiple screens, and i have not yet had issues other than scene view cannot be vsync or frame rate limited. but, this takes manual installation routes as it does not natively run .deb or .rpm for install of hub. i used the unofficial appimage, which is the .deb package converted. i then extract it to make it 'native'.
i do not use any official route for source control, so i cannot say if the plugin is the issue.
i would suggest trying to run the engine directly from the CLI, to see which, if any, messages popup. often times, things like this are fixed with a simple missing lib installation. running from CLI is the easiest way i know of to have it display Which lib is missing. also, DE makes a difference. i heard about issues with visual artifacts on gnome. i use KDE.

#

@spark field

spark field
#

Thanks for the hints 🙂

mental coral
#

discord is still being wonky after that outage, so my emotes are not working. YW 🙂

oblique vale
#

hi y'all, I'm trying to link nlua with unity on linux and it's not allowing me to select arm64 from this dropdown, so the dll is colliding with the linux x64 dll - do you know if there's a workaround?

north summit
oblique vale
#

gotcha thank you! if it's not supported for client side regardless I'll probably just remove it to be honest

hollow bison
#

does anyone know what i can try to do about these blank errors in the console that are preventing the game from running

glad frigate
#

Which Linux distribution is the best for Unity?
My last experience with Unity on Linux was horrible. I couldn't scale the text font size and some essential shortcuts like Ctrl+Z didn't work.

mental coral
glad frigate
#

ok thanks i will try it.

mental coral
hollow bison
mental coral
hollow bison
mental coral
#

ok, there have been known issues with hyprland, but this may be something else. if you run it through a console, does it give you any 'missing library' or that kind of message?

hollow bison
#

how do i run it through a console?

mental coral
#

on hyprland? i have no idea.

hollow bison
#

i'll figure it out then gimme a few mins

#

just to confirm, do you mean the compiled game or the editor?

mental coral
#

editor

hollow bison
#

alright yea that's what i thought just checking

mental coral
#

hopefully, it is just a missing lib you can install

#

but, working blind right now. logs or running from CLI should reveal it

hollow bison
#

when i get the message saying the project contains compilation errors, do you want me to ignore it or go into safe mode?

mental coral
#

just enter

hollow bison
#

i get these errors. the rewired ones i can fix by just going to the import settings of the dlls i get errors with and changing "any OS" to windows, since the game is built for windows and intended to be played using a program like wine if the user is on linux.
doing so removes those errors but not the rest

mental coral
#

ok, you are into things that are specific to what you are doing. not much i can do there

hollow bison
#

those errors i can get rid of, it's the blank ones at the top that are the problem

#

and the console has nothing to say about anything

mental coral
#

perhaps check the logs next

#

!logs

proven rivetBOT
# mental coral !logs
📝 Logs

Documentation

Editor logs

Windows: %LOCALAPPDATA%\Unity\Editor\Editor.log
MacOS: ~/Library/Logs/Unity/Editor.log
Linux: ~/.config/unity3d/Editor.log

Unity Hub

Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
Mac: ~/Library/Application support/UnityHub/logs
Linux: ~/.config/UnityHub/logs

mental coral
#

also, if using 6.4 it could be just that

hollow bison
#

i'm using 2020.3.49f1

#

and the logs don't seem to say anything concerning other than those failed dlls

#

which i can fix

#

but somehow keep becoming a problem

#

since the import settings seem to not save between sessions

#

i'm not sure why the import settings for those dlls allow for any OS, when the build is clearly specified as windows

mental coral
#

yep. not anything i can do here. out of date version. third party sdks. building for windows on linux, which is only supported in mono mode, at best..

hollow bison
#

alright thank you for your attempt

true forum
#

I just installed Unity and I can't interact with the scene. (Ubuntu 26.04 LTS) (note: there wasn't any warning or error printed in console)

#

I just realized that happens after a second or two when I open the project, then it freezes.
(I decided to install 6.3 LTS, I was using 6.4)

mental coral
#

ok.. so did 6.3 fix it, or is it still a problem?

lavish cairn
#

Any new info on the archlinux and Steam Build since the March 5 announcement?

true forum
#

By the way, is there a way to compile IL2CPP Windows executable in Linux?

mental coral
bright spire
#

does this just happen randomly if you use nvidia drivers or is it just me lol

#

i opened it 7 times and it opened. now if i close again i have to go through the 10% chance gacha all again 💔 i love nvidia

mental coral
bright spire
latent thorn
#

Or maybe I might try Linux Mint as well but I'm not sure what the performance difference is between that and Cachyos

#

Though I am more comfortable with Debian/Ubuntu

#

Haven't neccesarily tried Fedora yet.

mental coral
# latent thorn I know it's been a little while but how has your experience been using cachyos w...

the best experience i have had, performance wise and stability wise with Unity has been CachyOS. understand though, that i squash bugs on autopilot. i seem to recall having to install a couple libraries manually to get things working. also, i had to disable ipv6 on my machine due to how that times out before falling back to ipv4.
as far as mint, it would be the slowest of all of these, but we are talking minor differences in the end.
if you are comfortable in ubuntu, why not just use it? it is the only officially supported distro.
fedora is generally stable, but they had a major issue with their repos lately that caused a lot of damage to some people.
i use KDE strictly, so i cannot comment on the current state of GNOME and Unity. i know there were some issues at some point recently, but, these things often vary system to system. for example i run dual nvidia and multiple screens, and even different refresh rates, so i have 'the final boss' of linux configs. it is often easier and more stable for those running AMD video cards, as the drivers are open and built into the kernel.
cachyos has CPU architecture specific repos for most things, which means, it will be faster. i am on a v3 instruction set CPU, so the system defaults to v3 libs which eliminate the microstutters i have on other distros, since it is actuallyh using my CPU properly, instead of trying to make sure the instruction set can run on my grandmas toaster.

latent thorn
# mental coral the best experience i have had, performance wise and stability wise with Unity h...

I've just been mostly experimenting with dualbooting Windows and Linux so I haven't fully commited too any specific Linux distro yet, so I can still go back to Ubuntu if I really wanted too. I feel like I have already gotten most of my problems sorted out on Windows (WiFi card driver kept crashing the system but booted into safe mode uninstalled it restarted then reinstalled it seemed to fix it) that's just what I meant by what problems I was having on Windows... But infact my WiFi card is only offically supported on Windows because MediaTek does not offer any drivers for MT7927 on Linux, I know there is a third party community made driver somewhere on github... But it just never seemed to have the same performance as the offical Windows driver (when it works lol) And I still need Windows for some other important software I need to use too for school and stuff like MS office and outlook.

#

Right now I only have Windows installed currently.

latent thorn
#

What I generally meant to say was what has been kind of holding me off from Ubuntu even though I am most comfortable with it is that I've noticed a lot of weird app compatibility issues (even with Unity) which I'm like 99% sure the root cause with all these issues is from GNOME and nothing to do with Ubuntu

#

I know there is Kubuntu and stuff but thing is if I'm using a distro I'd rather use the most mainstream version of it

#

Kind of like Fedora KDE (now that it is a mainstream version now)

#

On Linux Mint using the Unity Editor felt really choppy and almost even slower than using it on Win 11

latent thorn
#

But it's been a while since I last tried it so I might just need to try it again sometime

#

Maybe try Nobara?

latent thorn
# latent thorn Maybe try Nobara?

But the people in their discord server were kind of mean instead of actually answering my question when I asked that why is the GNU grub UI scaled up so much bigger on my monitor than on Ubuntu/Linux Mint.

latent thorn
#

I might just try it again

oblique vale
#

hi yall, I'm having issues with gamepad (legacy input system) identification on Fedora - I know it's not officially supported so maybe this is a dead-end, but I'm getting no message when I plug my gamepad in, and a "disconnect event for unknown joystick 0" error when I unplug it

#

it does show up as a joystick in the input debugger but doesn't seem to be properly sending input (and it should be a gamepad regardless)

latent thorn
#

Decided to try Ubuntu (26.04 LTS) and the Unity hub is missing it's icon and just has some generic gear icon instead. I remember having this issue on 24.04 LTS and 25.10 as well.

#

Downloaded and installed the Unity hub from the .deb file on the new downloads page on the Unity website

latent thorn
#

But doesn't really make sense why I gotta do this every single time on every new installtion of Unity Hub on Ubuntu when on almost every other distro I have tried like Linux Mint and CachyOS and Nobara etc. I don't have to worry about this problem at all.

#

And the Unity editor is missing it's icon as well, but I didn't go that far cause I'm probably just going to mainly stick to Windows still despite me being very eager to try and learn it because of a lot of various different software I have to use aren't exactly compatible on Linux

latent thorn
#

Was just been getting replaced by the wayland logo instead of a generic gear icon so I didn't neccesarily think of it too much

#

But same fix still worked now that I am using Garuda Linux

nocturne ravine
#

Hello fellow Linux users, I'm currently struggling having switched to Linux and using Unity for the first time in forever with making a new project. I first had the issue of it not thinking Unity was installed.

As of right now I am running 2019.4.3f1 and trying to create a project, no matter where I path it to when making it it ends up prompting that I've either reanmed it, moved or deleted it. Any ideas on what to do thanks a lot 🙏

I used "Discover" to download Unity Hub, then the official Unity website to get the specific version of Unity.

My Linux details:
KDE Pladma Version 6.6.a
KDE Frameworks Version: 6.25.0
Qt Version 6.10.3
Kernel Version 7.0.9-200.nobara.fc43.x86_64 (64_bit)
Graphics Platform Wayland

mental coral
#

much more info is needed. what distro, what DE, what installation method, etc, etc./

#

@nocturne ravine ^

nocturne ravine
mental coral
#

nobara. now i see it

#

so you are using a flatpak. that route will never work in the end.
Nobara is Fedora based. you can use the RHEL instructions on the Unity website for Linux Installations.

#

uninstall the flatpak, and any installed editors first

#

following those instructions will get you a native installation. at that point, you point the hub to your existing project, and cross your fingers that it will try to autodownload the 2019 version from the archive.