x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

(UE4) How to install Visual Studio on Mac?[SOLVED]

I've been struggling almost two weeks trying to use different IDEs with UE4 on Mac. I've tryed QTCreator and CLion as alternatives to XCode and VS for Windows. But all my efforts were idle. REALLY: there is no better IDE for UE4 than VS 2015!

In thins solution the idea is to use UE4Editor on your Mac OS, but Visual Studio 2015 on virtual Windows machine in parallel.

Also I was looking for some kind of instruction on the internet how to install VS on Mac and get it work properly but I didn't find it. So I decided share my own solution for people who are looking for this.

As some guys mentioned they have some problems with very slow intelli sence in VS there is only one solution I found: install Visual Assist extension for VS as someone here kindly mentioned.

FOR THOSE OF YOU WHO ARE USING MAC BUT DON'T KNOW HOW TO INSTALL VS ON VIRTUAL MACHINE: (this solution is not perfect and requires much hard drive memory and high CPU and RAM consumption, so if your Mac is old probably this won't help you)


My system info is: MacBook Pro (Retina, 15-inch, Mid 2015) processor: 2.5 GHz Intel Core i7 memory: 16 GB 1600 MHz DDR3 graphics: AMD Radeon R9 M370X 2048 MB


Cooking VS on Mac (Instruction):

  1. Install latest version of Virtual Box.

  2. Install Windows 7,8,10 in VirtualBox (and adjust more ram for virtual system 4GB would be enough and all of your CPU cores to enhance VS performance and installation, also you must create virtual disk for system not less than 60 GB!!!).

  3. Install Visual Studio with Common Tools for C++.

  4. Install Unreal Engine on your Windows Virtual Machine (this is for your VS project files ability to read all headers macros etc.)

  5. Install Visual Assist X extension for VS on virtual machine.(it makes your VS fly like a bird trust me!)

  6. Make sure you've installed UE4 on your mac.

  7. Install Guest Additions for VirtualBox (this helps you to create Shared folders between your Mac and your virtual Windows machine, also allows you to make your virtual machine screen resolution fullscreen as you really running native windows system, it is very comfortable when you use VS in virtual machine).

  8. Create shared folder for Virtual Box and access it from your virtual Windows after installing guest additions. (the folder must be in Network tab in FileExplorer)

  9. Put your project in Shared Folder. Now you are able to access it from Mac and virtual Windows at the same time. But if you generate solution files for VS in Shared Folder (in Network) VS will not recognize it as a UE4 project. It is not over yet, still something to do. :wink:

  10. Install Synkron or some alternative app which will help you quickly sync between two folders in virtual Windows machine.

  11. Copy your entire project folder from Shared Folder somewhere to your virtual Windows system.

  12. Use Synkron or other tool to sync two folders: 1. From your Shared Folder with Mac (in Network 2. Fresh copied folder. You need to sync every time you make changes in your project. You can adjust Scheduler in Synkron by the way

  13. Now finally you are ready to generate your .sln files for VS in Windows run cmd and go to: C:/Program Files/Epic Games/4.10/Engine/Binaries/DotNET

  14. in this folder in command line run: UnrealBuildTool.exe -projectfiles -project="path\to\your\.uproject file" -game -rocket -progress (it will generate .sln file in your project folder. ATTENTION!: generate project files for your virtual folder you've just copied to Windows machine! not the Shared Folder!

  15. Open .sln file in VS, waint untill Visual Assist parse through all files, it will take a while but still fast if you use all af your cores for virtual Windows.

VOILA!

Now you can simply edit your project and sync folders between Mac and Windows

Use UE4 on Mac to test your code and game. It is faster and more comfortable. Also after changes in code in virtual Windows VS compile your code directly in Unreal Engine Editor.

P.S. I know this is not very clean solution but I finally get VS with it beautiful features working on Mac. If you have another ways feel free to share it. Also this is not very detailed explanation on how to get it working if you really face some problems following this instruction I can help or even share MORE detailed instruction here on forums.

Thank you for your attention. Have Fun! :slight_smile:

Product Version: UE 4.12
Tags:
more ▼

asked Jul 09 '16 at 06:31 PM in C++ Programming

avatar image

hexenskull
6 1 3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question