I just cant see C++ option while creating a new project even if I have set Visual Studio correctly

I have set Visual Studio correctly but “C++” option while creating a new project does not appear…

Are you trying to create a new C++ project through Visual Studio or a new C++ project through the Unreal Engine?

Do you need more help?

If you have an Epic install of UE4, not all template types offer you the C++ option as of 4.26. The blank template does though so just use that if you can. If you need a template project in C++ that doesn’t provide that option, you should be able to create a blueprint project and then add an empty C++ class to turn it in to a C++ project. If you have a built from source UE4 this could be more complicated, but the workaround is to create your project with the Epic install and go through adding the C++ class and then right click on your project and switch unreal version to your build from source.

If you choose the Virtual Reality template as an example in 4.26 I can only create a blueprint project with either the source build or the Epic UE4 and the C++ option just disappears. This is frustrating with a 4.26.2 built from source because if you choose the blueprint option and try to open it, it will tell you that you need to open up the IDE and build the project to open it, however you cannot right click and generate project files on the uproject because there are no source files and you cannot open the project to add any. To get through this, if you create the project with the packaged UE4 of the same version, add a blank C++ class, then switch engine version to the built from source, it will generate project files, then you can use visual studio to compile and be able to finally open the template project with built from source UE4.

I don’t know why the Virtual Reality template prevents C++ projects especially when VR headset providers such as Oculus encourage you to use their own built from source UE4 which might create a dead project if you can’t open it without building it but you can’t build it without opening it and all you are doing is trying to set up the hello world VR project. Happy coding!