Unity 5.5 core dumping in VirtualBox/Ubuntu with 3D accel

Hi,

I realize that Unity does not officially support running in a VM, but it does say it should ‘work’.

I’m running VB 5.1.14, and just installed a new VM of Ubuntu 16.04.2.
I updated everything, installed guest additions, installed ssh, and also gdebi.
VM is setup with 20GB disk, 4CPUs, 4GB Mem and 64Bit. (Host machine is Win10 64bit, Core i7 920, 14GB Mem)

I downloaded the .deb version of Unity I’m currently using on Windows (5.5.0f3) and installed it with gdebi.

Started the Unity editor and although it works (including running my game) its extremely slow (like 3fps) and basically unusable. But I read that you need to enable 3D accel.

So, I enabled that in the VB settings for the VM, and also setting VRAM to 256mb.

Now Unity wont start (I get the blue/green startup box, but it crashes before it gets to the open project window), and it just core dumps.

With logging I get this:
OpenGL Warning: glXChooseVisual: ignoring attribute 0x22
OpenGL Warning: glXChooseVisual: bad attrib=0x186a1, ignoring
OpenGL Warning: glXChooseVisual: bad attrib=0x186a0, ignoring
ono path[2] = ‘/opt/Unity/Editor/Data/UnityScript’
Mono path[3] = ‘/opt/Unity/Editor/Data/Mono/lib/mono/2.0’
Mono config path = ‘/opt/Unity/Editor/Data/Mono/etc’
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56683
Desktop is 1600 x 1200 @ 60 Hz
No valid fbconfig found
Receiving unhandled NULL exception
#0 0x007ffe8199f040 in funlockfile
#1 0x007ffe8199f498 in (Unknown)
Launching bug reporter

If I turn 3D Accel off, it then doesn’t crash, but too slow again.

I haven’t installed anything specific for graphics and drivers, apart from when installing Ubuntu I checked the box that said ‘install any 3rd party drivers for devices etc’…

glxinfo gives this:
glxinfo | grep OpenGL
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.50 NVIDIA
OpenGL extensions:

Also, if I build my game as standalone (either directly on the Ubuntu VM or via a Windows install), then the same thing happens, works (but slow) without 3D accel, and core dumps when 3D accel is set.

I have attached the log file from that to this message, as it has more info like stacktraces & gbd info etc.

Anyone any idea why this wont work?

Thanks.

3022468–225829–UnityRunLog.txt (7.09 KB)

Just tried upgrading Virtual Box to the latest, 5.1.18r114002 and also trying it on fresh install of Ubuntu 14.04.5 LTS.

Identical problem with the core dump, and wont run with 3D Accel.