Developing a Hololens 2 app: deploying via VS works but installing a app package does not

Copper Contributor

Hi. I am developing a Hololens 2 app with VS2019+Unity+MRTK.


I test the app by deploying via VS2019 and it works. However, if I publish it as an app package and install it on the device portal, the app runs but cannot access its asset data under Data/StreamingAssets. I tried to make an app package with different methods ( 1. 'Publish / Generate an app package' menu of VS2019; 2. manually packaging and signing using MakeAppx and SignTool. ) but encountered the same problem regardless of methods. Does anyone know a solution for this problem?

0 Replies