Menu Close
How Can We Help?
You are here:
Print

Remove Supported Platform

I wanted to remove HoloLens from my Unreal Engine 5 Supported Platforms, I already had success removing othe platforms like iOS, TVOS, Mac using the UE Slim Source Setup but HoloLens still avaiable in my build.

To remove HoloLens from Supported Platform is simple and straightforward :

  • Edit Engine\UE5\Source\Developer\TargetPlatform\Private\TargetPlatformManagerModule.cpp ( @ \Unreal\UE_5.0\Engine\Source\Developer\TargetPlatform\Private\TargetPlatformManagerModule.cpp ) .
  • Line 839, add:
//DFX - Remove Hololens
if (PlatformName.ToString() == "HoloLens") { continue; }

Comments are welcome.