Closed Fiyorin closed 6 years ago
if i install libncurses 5 (from https://aur.archlinux.org/packages/ncurses5-compat-libs/), there's only this error left:
System.AggregateException: One or more errors occurred. ---> System.TypeInitializationException: The type initializer for 'ZeroMQ.lib.zmq' threw an exception. ---> System.EntryPointNotFoundException: mono_dllmap_insert
at (wrapper managed-to-native) ZeroMQ.lib.Platform+Posix.mono_dllmap_insert(intptr,intptr,intptr,intptr,intptr)
at ZeroMQ.lib.Platform+Posix.MonoDllMapInsert (System.String libraryName, System.String libraryPath) [0x0000e] in <89499c667382432583a6a5f1fb22bd37>:0
at ZeroMQ.lib.Platform+Posix.LoadUnmanagedLibrary (System.String libraryName) [0x0022e] in <89499c667382432583a6a5f1fb22bd37>:0
at ZeroMQ.lib.zmq..cctor () [0x005a7] in <89499c667382432583a6a5f1fb22bd37>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at ZeroMQ.ZContext..ctor () [0x00006] in <89499c667382432583a6a5f1fb22bd37>:0
at UnityEditor.ServiceBroker.Client+<>c__DisplayClass6_0`1[T].<Subscribe>b__0 () [0x00000] in <021480b2a1fe4f80a7e582c24822e70b>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2886
at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2509
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2164
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3196
at System.Threading.Tasks.Task.Wait () [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:3061
at UnityEditor.Compilation.CompilerConnection.SubscribeInternal (System.Int32 millisecondTimeout, System.Boolean retryOnTimeout, System.Int32& attempts) [0x0002c] in <977150d7dc074b03892f0d99dad8d488>:0
at UnityEditor.Compilation.CompilerConnection.SubscribeInternal (System.Int32 attempts) [0x00000] in <977150d7dc074b03892f0d99dad8d488>:0
at UnityEditor.Compilation.CompilerConnection.InitializeSingleton () [0x0002f] in <977150d7dc074b03892f0d99dad8d488>:0
at UnityEditor.Compilation.RoslynCompilerBootstrap..cctor () [0x0000a] in <977150d7dc074b03892f0d99dad8d488>:0
---> (Inner Exception #0) System.TypeInitializationException: The type initializer for 'ZeroMQ.lib.zmq' threw an exception. ---> System.EntryPointNotFoundException: mono_dllmap_insert
at (wrapper managed-to-native) ZeroMQ.lib.Platform+Posix.mono_dllmap_insert(intptr,intptr,intptr,intptr,intptr)
at ZeroMQ.lib.Platform+Posix.MonoDllMapInsert (System.String libraryName, System.String libraryPath) [0x0000e] in <89499c667382432583a6a5f1fb22bd37>:0
at ZeroMQ.lib.Platform+Posix.LoadUnmanagedLibrary (System.String libraryName) [0x0022e] in <89499c667382432583a6a5f1fb22bd37>:0
at ZeroMQ.lib.zmq..cctor () [0x005a7] in <89499c667382432583a6a5f1fb22bd37>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at ZeroMQ.ZContext..ctor () [0x00006] in <89499c667382432583a6a5f1fb22bd37>:0
at UnityEditor.ServiceBroker.Client+<>c__DisplayClass6_0`1[T].<Subscribe>b__0 () [0x00000] in <021480b2a1fe4f80a7e582c24822e70b>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2886
at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2509 <---
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
the demos run though :-)
There appears to be a general problem with library search paths. You can temporarily try working around it by preloading the mono library:
$ (export LD_PRELOAD=/opt/Unity-2018.2.2f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so ; /opt/Unity-2018.2.2f1/Editor/Unity)
Hi! I'm curious if you ultimately resolved this issue. FWIW the only distribution of Linux we "officially" support is Ubuntu. That said, if you run into other issues, the best place to get help is probably the Unity Linux forum.
i get these errors when trying to load the packages
"com.unity.incrementalcompiler": "0.0.38", "com.unity.entities": "0.0.12-preview.1":
tested on arch linux with Unity Editor 2018.1.0f2