flathub / com.unity.UnityHub

https://flathub.org/apps/details/com.unity.UnityHub
21 stars 11 forks source link

[Bug]: GLIBC 2.38 not found in mono build #114

Open filipagh opened 8 months ago

filipagh commented 8 months ago

What Happened

i setup rider - unity integration base on rider doc, rider must be started form unity, it works .net sdk is found but Mono is not found by rider but somehow find on build process but then it cant find GLIBC

here are native bin locations which works (can compile poject) image

here are flatpak enviroment bin location image

here is mono build error

No loaded projects
CONSOLE: Use build tool: /run/host/usr/lib/mono/msbuild/15.0/bin/MSBuild.dll

/run/host/usr/bin/mono-sgen: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /run/host/usr/bin/mono-sgen)
/run/host/usr/bin/mono-sgen: /usr/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /run/host/usr/bin/mono-sgen)

rider Version: 2023.2 Build: RD-233.13135.100 Timezone: Europe/Bratislava Evaluation: false Environment: RD-233.13135.100, JRE 17.0.9 7-b1087.9x64 JetBrains s.r.o., OS Linux(amd64) v6.1.64-1-MANJARO, screens 1680.0x1050.0, 2560.0x1440.0, 1920.0x1080.0 .NET Core v7.0.10 x64 Unity: 2021.3.32f1, JetBrains Rider package: 3.0.27 glibc 2.38-7

How to Reproduce

  1. open hub
  2. download fps microproject
  3. unity 2021.3.32f1
  4. integrate rider 2023.2 (2023.3 will NOT work)
  5. start rider from unity
  6. check if project load OK (need for IDE to work correctly)
  7. try build project

Operating System

OS Linux(amd64) v6.1.64-1-MANJARO

Command-line output

ERROR: Ampli is not yet initialized. Have you called ampli.load() on app start?
Gtk-Message: 01:59:23.941: Failed to load module "xapp-gtk3-module"
Gtk-Message: 01:59:23.941: Failed to load module "canberra-gtk-module"

Anything else?

its my first time with unity and diging in flatpak, and im just stuck here i have workaround as debug work in flatpak rider, and code analyze work in native rider, but i would like have only one IDE open