Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Unity crash when i create any UI component

Discussion in 'Linux' started by Overloot, Jan 31, 2023.

  1. Overloot

    Overloot

    Joined:
    Jan 24, 2015
    Posts:
    5
    Hi, guys!

    I work in unity on linux most than six months and all was be ok. But...Today i have strange bug.
    If i create new project or open exiting project and then create or enable any UI component...Unity was crashed.

    For example. I create new project. Then in hierarchy press second mouse button and select UI>Image...
    unity immediately crash.

    Anybody can help me?


    Unity 2021.3.16f1
    Unity 2021.3.17f1

    Obtained 14 stack frames.
    #0 0x007fbae34519e0 in __sigaction
    #1 0x007fbae34a164c in pthread_key_delete
    #2 0x007fbae3451938 in gsignal
    #3 0x007fbae343b53d in abort
    #4 0x007fbae343b45c in (Unknown)
    #5 0x007fbae344a486 in __assert_fail
    #6 0x007fb96a2ce7fc in __driDriverGetExtensions_d3d12
    #7 0x007fb969e2b712 in __driDriverGetExtensions_d3d12
    #8 0x007fb969fb506c in __driDriverGetExtensions_d3d12
    #9 0x007fb969f0a4e8 in __driDriverGetExtensions_d3d12
    #10 0x007fb969cbdb2e in __driDriverGetExtensions_d3d12
    #11 0x007fb969d0e68c in __driDriverGetExtensions_d3d12
    #12 0x007fbae349f8fd in pthread_condattr_setpshared
    #13 0x007fbae3521d20 in __xmknodat

    System:
    Host: togopc Kernel: 6.1.7-1-MANJARO arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.26.5 Distro: Manjaro Linux
    Machine:
    Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
    Mobo: ASUSTeK model: PRIME B450M-K II v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 3211
    date: 08/10/2021
    CPU:
    Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
    Speed (MHz): avg: 1918 min/max: 1400/4464 cores: 1: 1400 2: 2535 3: 1400
    4: 1400 5: 1991 6: 2398 7: 1400 8: 1400 9: 3900 10: 2399 11: 1400 12: 1400
    Graphics:
    Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
    Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: amdgpu
    unloaded: modesetting dri: radeonsi gpu: amdgpu resolution:
    1: 1080x1920~60Hz 2: 2560x1440~60Hz
    API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.7-1-MANJARO)
    Audio:
    Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
    Sound API: ALSA v: k6.1.7-1-MANJARO running: yes
    Sound Server-1: PulseAudio v: 16.1 running: yes
    Sound Server-2: PipeWire v: 0.3.64 running: yes
    Network:
    Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
    IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 50:eb:f6:20:1c:15
    Drives:
    Local Storage: total: 7.97 TiB used: 2.35 TiB (29.5%)
    ID-1: /dev/nvme0n1 vendor: Silicon Power model: SPCC M.2 PCIe SSD
    size: 238.47 GiB
    ID-2: /dev/sda vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    ID-3: /dev/sdb vendor: Seagate model: ST2000DM008-2UB102 size: 1.82 TiB
    ID-4: /dev/sdc vendor: Western Digital model: WD40EZAZ-19SF3B0
    size: 3.64 TiB
    ID-5: /dev/sdd vendor: Seagate model: ST2000DM008-2UB102 size: 1.82 TiB
    Partition:
    ID-1: / size: 223.77 GiB used: 30.53 GiB (13.6%) fs: ext4
    dev: /dev/nvme0n1p2
    ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
    ID-3: /home size: 457.38 GiB used: 93.74 GiB (20.5%) fs: ext4
    dev: /dev/sda1
    Swap:
    ID-1: swap-1 type: partition size: 9.77 GiB used: 25.8 MiB (0.3%)
    dev: /dev/nvme0n1p3
    Sensors:
    System Temperatures: cpu: 44.1 C mobo: N/A gpu: amdgpu temp: 31.0 C
    Fan Speeds (RPM): N/A
    Info:
    Processes: 377 Uptime: 32m Memory: 30.65 GiB used: 13.53 GiB (44.1%)
    Shell: Zsh inxi: 3.3.24
     
  2. Overloot

    Overloot

    Joined:
    Jan 24, 2015
    Posts:
    5
    Sorry, for my bad English. I will try to rephrase:
    I'm using Unity Linux for almost six month and everything was alright 'till today. Today I had a strange bug. If I Create or Enable any UI component within New or already exist Project - Unity crashing.

    For example:
    I create New Project. Next, I'm selecting UI->Image by opening context menu in Hierarchy tree. Crash.

    ps. And i successfully repeated this bug in Unity 2022.2.4f1
     
  3. Overloot

    Overloot

    Joined:
    Jan 24, 2015
    Posts:
    5
    i checked log /home/xyz/.config/unity3d/Editor.log and see this:
    Unity: ../mesa-22.3.3/src/gallium/auxiliary/util/u_threaded_context.c:2829: tc_buffer_unmap:
    then i checked last updated packages and found out that mesa packages were recently updated.

    how long to wait for fixes?
     
  4. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    97
    could you help us to file a bug report? thanks a lot
     
  5. Overloot

    Overloot

    Joined:
    Jan 24, 2015
    Posts:
    5
    CASE IN-30818
     
  6. michprev

    michprev

    Joined:
    Dec 8, 2012
    Posts:
    1
    I am experiencing the same issue. I am not sure if this is the main cause of the problem, but it helped me to downgrade the llvm-libs package from 15.0.7-1 to 14.0.6-4.

    It makes my system unstable but better than Unity Editor not working at all, I guess.
     
  7. Overloot

    Overloot

    Joined:
    Jan 24, 2015
    Posts:
    5
    Thanks a lot. It's workaround solution. I tried to do this, but I use a Manjaro Linux. It's rolling distro. I must to updating all packages when install any application.
     
  8. tylerinthezoo

    tylerinthezoo

    Unity Technologies

    Joined:
    Jun 15, 2022
    Posts:
    97
    tried it on my ubuntu22.04, it does not repro. As a side note here, we do not officially support KDE.