When I run the game from the editor while connected to the hololens with the holographic window, unity freezes and I must kill it with task manager.
My project also targets .net 4.6
When I tried creating an empty project it didnt freeze, but when I changed to .net 4.6 it froze again when using holographic.
It seems like changing to .net 4.6 infects the project as changing it back to 3.5 wont help anymore and you cant enter play mode with the hololens without freezing.
I recommend to submit a bug-report following the advice in this document.
Using the bug-reporter seems to be an important step, because it makes sure the report is in Unity Technologies bug-tracking pipeline and has to be processed at some point. Using the forum is often used to add to a little more attention to a bug-report, but does not replace submitting the bug-report.
It’s from advantage to attach a project to the bug-report that UT can use to reproduce the issue and test their fix against. The easier an issue can be reproduced by QA, the more likely it is to get forwarded to a developer, who might or might not work on a bug-fix for that at some point.
After you submitted the bug-report, you receive a confirmation email with a Case number. UT often asks us to post the Case number in the forum thread, which allows them to find that bug-report if they look at your post.
Following these steps will increase the chance that UT is looking at your issue tremendously.
Could you please submit a bug report for this issue with a reproduction case attached to it? A hang dump would also come in handy.
You can create a hang dump with Task Manager on WIndows.
Open Task Manager with the same bitness as the target process. On 64-bit machines, the 32-bit Task Manager is located at C:\Windows\SysWOW64\taskmgr.exe. Go to the “Processes” tab. Right-click the target process and choose “Create Dump File”. The dump file will be written to the temp folder of the logged-in user (usually C:\Users<user>\AppData\Local\Temp).