Can not connect Mono debugger to Unity Editor

Hello, I am on Linux Mint 19.1 running Unity Editor 2018.3.14f1 (tried with 2019.f.8f1 too, similar happened but with Timed Out error)
I have MonoDevelop installed and I want to attach it to Editor. Within MonoDevelop menu, I go and try with Run/Attach to process… I choose Unity process and I get first error window (img attached).
I also see log message in MonoDevelop that I can not load some shared libraries (possibly not installed, idk what I need).

This worked earlier in time when I used older version of both Mint and Unity, anyone come across something similar?
Tnx

Here is log in MonoDevelop:

Attaching to process 5193
[New LWP 5194]
attach 5193
[New LWP 5196]
[New LWP 5198]
[New LWP 5199]
[New LWP 5201]
[New LWP 5221]
[New LWP 5222]
[New LWP 5223]
[New LWP 5224]
[New LWP 5225]
[New LWP 5226]
[New LWP 5227]
[New LWP 5228]
[New LWP 5229]
[New LWP 5230]
[New LWP 5231]
[New LWP 5232]
[New LWP 5233]
[New LWP 5234]
[New LWP 5235]
[New LWP 5236]
[New LWP 5237]
[New LWP 5238]
[New LWP 5239]
[New LWP 5240]
[New LWP 5241]
[New LWP 5242]
[New LWP 5244]
[New LWP 5245]
[New LWP 5246]
[New LWP 5255]
[New LWP 5256]
[New LWP 5257]
[New LWP 5258]
[New LWP 5259]
[New LWP 5260]
[New LWP 5261]
[New LWP 5262]
[New LWP 5263]
[New LWP 5265]
[New LWP 5266]
[New LWP 5267]
[New LWP 5274]
[New LWP 5283]
[New LWP 5285]
[New LWP 5286]
[New LWP 5287]
[New LWP 5264]
[New LWP 5288]
[New LWP 5275]
[New LWP 5289]
[New LWP 5290]
[New LWP 5291]
[New LWP 5292]
[New LWP 5293]
[New LWP 5294]
[New LWP 5295]
[New LWP 5296]
[New LWP 5297]
[New LWP 5298]
[New LWP 5299]
[New LWP 5300]
[New LWP 5301]
[New LWP 5303]
[New LWP 5304]
[New LWP 5305]
[New LWP 5307]
[New LWP 5308]

warning: Could not load shared library symbols for 3 libraries, e.g. /tmp/.mount_UnityHW4HP2E/usr/lib/libXtst.so.6.\nUse the \"info sharedlibrary\" command to see the complete listing.\nDo you need \"set solib-search-path\" or \"set sysroot\
[Thread debugging using libthread_db enabled]
Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".
0x00007f53193acbf9 in __GI___poll (fds=0x2c9115be5c80, nfds=7, timeout=4) at ../sysdeps/unix/sysv/linux/poll.c:29
29\t../sysdeps/unix/sysv/linux/poll.c: No such file or directory.

4752179--451088--Untitled window_041.png

Since Unity 2018, mono support has been dropped, to support visual studio, which is default IDE now.

1 Like

Thanks for the info. I installed VSCode and it works, all good.

1 Like