I've read another post about the same subject but as it's an older, I thought since that Virtualbox had evolved that this may change the approach.
In fact, VB seems to integrate video acceleration. Altough I installed the last Directx 11 on the XP VM, unity3D send an error for DirectX 9 and Direct3D.
So : is it possible to have unity Working with Virtual Box ?
Answer by Tuti
Aug 19, 2010 at 04:39 PM
No, Unity will not work with VB. However it works with VMWare Fusion if you enable "Accelerate 3D Graphics". But be advised that you'll have a considerably loss of video performance compared with your host operating system.
People who are reading this answer should know that it was written in 2010, and that it is no longer valid. It is possible to get Unity working in VirtualBox.
Confirmed. Install the D3D extensions on the Guest Additions CD image (in safe mode) and then change your Settings->Display->Video settings for the VM to enable 3D acceleration and give it 256MB video RAM.
Answer by gsingh93
Mar 06, 2014 at 03:57 AM
I got VirtualBox 4.3.8 working with a Windows 7 Guest VM where the host was running Arch Linux. The most important thing is to install the 3D drivers. This guide is for a different purpose, but it shows how to install the 3D drivers: http://www.howtogeek.com/124479/how-to-enable-3d-acceleration-and-use-windows-aero-in-virtualbox/
Answer by markt1964
Mar 10, 2015 at 03:44 PM
I've followed all the advice in this forum with regards to enabling 3d acceleration, installing experimental d3d support, and unity3d doesn't really work from inside virtualbox. The application window does not properly handle paint events, and the software is not usable inside of virtualbox in any sense.
Edit: Since I made the above comment, I have tried enabling an Aero desktop theme, and that caused Unity to start working correctly.
I can confirm that enabling Aero was a required step for me to run Unity 4.6 on a Windows 7 guest.
Answer by Mario Vermeulen
Jan 22, 2011 at 06:40 PM
I have mac osx running in vmware on windows 7 with the Accellerate 3D Graphics enabled, but unity crashes everytime it start, i only need this so i can build to the ipad or iphone, for the rest i build everything on windows and there everything works fine.
Could you give me some feedback if you guys have tried this yourselves?
Answer by smokris
Jun 04, 2012 at 03:03 PM
I can confirm that a Unity project I built with Unity 3.5.1f2 runs on Windows XP SP3 in VirtualBox 4.1.16.
My VM has 2D and 3D acceleration enabled, and I installed the experimental Direct3D Support, but otherwise all VM settings are defaults.
What does you means "I installed the experimental Direct3D Support" ? Isn't install DirectX on VM ? which version ? Because i have problem to run UNity 3D when i run it on window 7..
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
9 People are following this question.
Failed to Initialize 3D Graphics
Publishing iOs app with Unity running in VirtualBox?