Why is UE5.1 creating a HoloLens folder, even though I do not have HoloLens installed?

UE 5.1 is creating a “Platforms” folder - which contains the “HoloLens” folder (which itself only has a config file) - whenever I start my project.

Now I would like to ask why this folder is automatically created, even though I do not have HoloLens installed in the UE 5.1 platform options (only windows), nor do I have a HoloLens or any VR plugin enabled.

And is there no option to disable that?

Still no answer? :frowning:

Bump.

I am also looking for an answer on this

1 Like

Bump. I see no reason for it to do so.

1 Like

Agreed, also got a platforms folder with just hololens in it. On my CI builds I have to delete the hololens folders just to get the project to build even though hololens is disabled

1 Like

Delete the Platforms/HoloLens folder from your Engine source, then rebuild Engine and it will stop doing that.

It should not force it by default too, i think this is more an issue.

2 Likes

AFAIK it has been doing that since 5.0, if not before. In 5.2 it still happens.

Just delete the Platforms/HoloLens directory from your Engine source. If you decide you need HoloLens in the future, you just copy that directory from new Engine source.

Very easy solution, no downside.

I literally just excluded HoloLens from my source code feed from Epic and haven’t had any issues with HoloLens ever since.

3 Likes

Thanks, that solved that indeed. Quite the weird oversight from Epic nonetheless.