How to get rid of HoloLens? It messes up VS and Unreal Engine

Oleksiy F 6 Reputation points
2022-12-19T20:42:03.707+00:00

Good day, I have a rather big issue that I have little idea about how to resolve.
At my work computer that I'm not the first user of I installed Visual Studio, as well as Unreal Engine. Problem is - Unreal Engine builds with support for HoloLens because it detects its SDK and there's build target platform for it in Visual Studio together with x64 and x86 - and it causes Unreal's editor to crash exactly because of HoloLens while built for either Windows architectures (UE crash logs list issues exactly with HoloLens).
At my home computer I, of course, don't have HoloLens target and everything compiles and works fine.
I want to get rid of HoloLens SDK/installation but the problem is - nothing related to it is in "Apps", not even Windows Mixed Reality. So it probably was a botched uninstall of it before my time. Resetting Windows is not an option.
So how do I get rid of it?

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,091 Reputation points Microsoft External Staff
    2022-12-20T09:56:28.263+00:00

    Hello, Welcome to Microsoft Q&A,

    If you are using the Editor, you can uncheck HoloLens 2 in Unreal Engine's Options->Target Platforms, as shown below. If you are using source code to build Unreal Engine, please ask for support from Unreal.
    272398-options.png

    ----
    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.