Hi, I am using openSUSE Tumbleweed.
2 days ago, there were 8 package updates.
Majority of them were nvidia drivers.
I used Unity 2022.3.8f1 till then and it worked almost flawlessly(other than a few visual glitches).
Once the packages were installed, I rebooted and when I tried to launch Unity, I got the error message shown in the first picture.
My initial thought was that it could be a unity version bug or improperly installed drivers so I downloaded 2022.3.9f1 but the issue persisted.
I then decided to check if the nvidia drivers are actually installed, which they are(picture 2).
Since nothing worked, I decided to ask on the forums and see if anyone has a similar issue/a way to fix this.
Thanks in advance!
hi, would be helpful if you could attach your editor log if possible?
Hi, I would like to provide it but I wasn’t able to find it.
I searched in the path provided here:
https://docs.unity3d.com/2020.1/Documentation/Manual/LogFiles.html
But there was no log of any kind in that directory, even after crashing Unity a few more times.
wha’s the output if you run the editor in your terminal?
logs should be here
~/.config/unity3d/Editor.log
ok, I ran it using this command:
nnra@localhost:~/Unity/Hub/Editor/2022.3.9f1/Editor> ./Unity -nographics -batchmode -force-free -quit
This is the output in the Editor.log now:
Unity Editor version: 2022.3.9f1 (ea401c316338)
Branch: 2022.3/staging
Build type: Release
Batch mode: NO
System name: Linux
Distro version: #1 SMP PREEMPT_DYNAMIC Fri Aug 25 08:26:31 UTC 2023 (f5aa89b)
Kernel version: 6.4.12-1-default
Architecture: x86_64
Available memory: 31998 MB
[Licensing::Module] Trying to connect to existing licensing client channel...
[Licensing::IpcConnector] Connection attempt to the License Client on channel: "LicenseClient-nnra" failed because channel doesn't exist; code: "0x80000002"
[Licensing::Module] Successfully launched the LicensingClient (PId: 30894)
[Licensing::IpcConnector] Successfully connected to the License Client on channel: "LicenseClient-nnra" at "2023-09-10T22:09:50.0248Z"
[SignatureVerifier] Application signature verification not supported on this platform.
[Licensing::Client] Handshaking with LicensingClient:
Version: 1.13.1+ca5f299
Session Id: 5843c8602cdf4d8d88ac1240919b68c5
Correlation Id: 119433bb8143a85ee64ced0df17ac5f2
External correlation Id: 7740802890775945747
Machine Id: CCGeVIqvH/cfK8z2SC8CHQBLsH4=
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-nnra" (connect: 0.45s, validation: 0.04s, handshake: 0.00s)
[Licensing::IpcConnector] Successfully connected to the License Notification on channel: "LicenseClient-nnra-notifications" at "2023-09-10T22:09:50.065009Z"
[Licensing::Module] Connected to LicensingClient (PId: 30894, launch time: 0.00, total connection time: 0.49s)
[Licensing::Module] Error: Access token is unavailable; failed to update
[Licensing::Client] Error: Code 500 while processing request (status: Unable to update licenses. Errors: No ULF license found.,Token not found in cache)
[Licensing::Client] Error: Code 500 while updating license in client (status: Unable to update licenses. Errors: No ULF license found.,Token not found in cache)
[Licensing::Client] Successfully resolved entitlements
[Licensing::Module] Error: License is not active (com.unity.editor.ui). HasEntitlements will fail.
Pro License: NO
Desktop is 5120 x 1440 @ 60 Hz
Initialize udev device monitor.
[Licensing::Client] Successfully resolved entitlements
No valid Unity Editor license found. Please activate your license.
Checking for leaked weakptr:
Found no leaked weakptrs.
Memory Statistics:
[ALLOC_TEMP_TLS] TLS Allocator
StackAllocators :
[ALLOC_TEMP_CoreBusinessMetricsCache]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_EditorTaskManager]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_Profiler.Dispatcher]
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
Initial Block Size 64.0 KB
Current Block Size 64.0 KB
Peak Allocated Bytes 0 B
Overflow Count 0
[ALLOC_MEMORYPROFILER]
Requested Block Size 1.0 MB
Peak Block count 1
Peak Allocated memory 4.6 KB
Peak Large allocation bytes 0 B
##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1694383809142,"processId":30876,"allocatedMemory":91347,"memoryLabels":[{"Default":730},{"Permanent":27},{"Thread":64},{"Manager":7319},{"GfxDevice":408},{"Serialization":52},{"BaseObject":12376},{"String":5447},{"DynamicArray":1152},{"HashMap":11914},{"Utility":1024},{"GI":2920},{"CloudService":336},{"VR":80},{"EditorUtility":2904},{"License":3608},{"UnityConnect":26128},{"Collab":25},{"HubClient":3696},{"LocalIPC":306},{"ProfilerEditor":10831}]}
Another thing I should mention is that I am not getting any updates to the Editor.log when I run unity from hub, I got this output only because I ran it through terminal and ended up with a completely different error.
When ran through the hub I keep getting the same error I initially reported.
One note is, i believe, when you run the editor from the terminal, please do not use the batch mode stuff as you need to login for that. the error basically complains you have no license.
This got even better.
I tried running the command you suggested but now nothing happens at all, no log no nothing.
When ran through hub it starts spinning the loading spinner and then stops after 20-30 seconds with no logs/errors.
What am I supposed to do next?
you need to run ./Editor -projectPath yourProjectPath, but having nothing showing in the terminal sounds strange to me. it feels like the editor does not even run at all.
I am guessing you meant ./Unity since ./Editor is not a thing.
Nothing happened tho, the picture I provided shows the console after running the command as well as the folder with the last log being created yesterday at 12AM(no updates when the cmd is ran) in the top right.
one last thing i would try is to run this using sudo.
nothing
is there anything in the log this time?
i never used openSUSE but if unity crashed, it would produce a log on the system.
The screenshot I provided shows the file explorer which displays that the last log was created yesterday and not at the time of running unity through either hub or terminal.
Possibly related, probably not. About 2 months ago now, an Arch Linux update broke my Unity Editor (all versions), and I wasn’t able to find anything easily by checking the logs (although if I remember, it was something GTK? I don’t use Nvidia graphics btw).
Because I need Unity for work and I know Arch Linux isn’t officially supported, I simply rolled back my system and haven’t updated since.
I run KDE which is common for SUSE, so there could be a connection here, but again I haven’t spent any quality time trying to repro it.
So uhh, I reinstalled unity from flatpak and now it’s working.
Yeah, updates can obviously break unity easily for some reason.
As I mentioned above, reinstalled solved the issue for me.
As for it being related to KDE, unlikely, I am using Hyprland.
I’m using KDE on Fedora. It is updated very regularly and I never had any problem with Unity.
I wish Unity supported Flatpak officially, since whenever upstream gets involved, it “just works” after a tweak or two, no matter what random distro you’re using (heck, it even works on WSL).
hi @tylerinthezoo I have the same issue
The problem is, there’s no Editor.log file so I can’t give you why
Oh this is my OS.
I’m running using Flatpak since the “official” way doesn’t even work for me.