Ich habe Schwierigkeiten, Unity3D Build in Ubuntu Linux Environment zu arbeiten. Ich habe gerade eine leere Szene ohne irgendwelche Objekte erstellt eine Linux-Distribution erstellt, aber es stürzt in Linux ab und gibt folgenden Fehler.Unity3D Linux Build stürzt beim Start ab. (Ubuntu 16.04 LTS)
'/home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux.x86'
Found path: /home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux.x86
Mono path[0] ='/home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux_Data/Managed'
Mono path[1] = '/home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux_Data/Mono'
Mono config path = '/home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux_Data/Mono/etc'
displaymanager : xrandr version warning. 1.5
client has 2 screens
displaymanager screen (0)(VGA-0): 1368 x 768
Using libudev for joystick management
Importing game controller configs
Aborted (core dumped)
Hier ist die Player.log Dateiausgabe.
Selecting FBConfig
GLX_FBCONFIG_ID=227
GLX_BUFFER_SIZE=32
GLX_DOUBLEBUFFER=1
GLX_RED_SIZE=8
GLX_GREEN_SIZE=8
GLX_BLUE_SIZE=8
GLX_ALPHA_SIZE=8
GLX_DEPTH_SIZE=24
GLX_STENCIL_SIZE=8
GLX_SAMPLES_ARB=0
GLX_SAMPLE_BUFFERS_ARB=0
GLX_STEREO=0
GLX_CONFIG_CAVEAT=NONE
Desktop is 1368 x 768 @ 60 Hz
XError: BadMatch (invalid parameter attributes) (error 8, opcode 154/34, serial 37, XID 00000004, display 0xa96bdf0
XError: BadMatch (invalid parameter attributes) (error 8, opcode 154/34, serial 40, XID 00000004, display 0xa96bdf0
XError: BadMatch (invalid parameter attributes) (error 8, opcode 154/34, serial 43, XID 00000004, displaterminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid
Stacktrace:
Native stacktrace:
/home/jayanth/Desktop/EmptyLinuxTest/Empty_Linux_Data/Mono/x86/libmono.so(+0x8960f) [0xb4da760f]
[0xb775cc20]
[0xb775cc31]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x39) [0xb7160e89]
/lib/i386-linux-gnu/libc.so.6(abort+0x157) [0xb71623e7]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x155) [0xb73cfd45]
/usr/lib/i386-linux-gnu/libstdc++.so.6(+0x70843) [0xb73cd843]
/usr/lib/i386-linux-gnu/libstdc++.so.6(+0x708bd) [0xb73cd8bd]
/usr/lib/i386-linux-gnu/libstdc++.so.6(__cxa_rethrow+0) [0xb73cdb80]
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZSt19__throw_logic_errorPKc+0x44) [0xb73f78b4]
./Empty_Linux.x86() [0x8b66b48]
./Empty_Linux.x86() [0x8b5802e]
./Empty_Linux.x86() [0x8b4a2ba]
./Empty_Linux.x86() [0x8b568c9]
./Empty_Linux.x86() [0x8adb803]
./Empty_Linux.x86() [0x8ad81f7]
./Empty_Linux.x86() [0x82ce6bf]
./Empty_Linux.x86() [0x83efceb]
./Empty_Linux.x86() [0x83c6c12]
./Empty_Linux.x86() [0x808e473]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7) [0xb714d637]
./Empty_Linux.x86() [0x80988e9]
Debug-Info von GDB:
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Es würde mich freuen wenn mir jemand bei diesem Problem helfen.
Dank
Sie einen Joystick oder ähnliches verwenden ?? – Fattie
Nein, ich benutze keinen Joystick.Same Build, wenn ich für Windows/Mac mache funktioniert es völlig in Ordnung, aber nicht sicher, warum es Problem in Linux erstellt – Niks
Gleiches Problem hier @Niks, haben Sie zufällig zu lösen? – ssantos