Unable to delete HoloLens 2 temporary files after building UE4 project to HoloLens 2 device

MatthewDZane
Fri, 11 Feb 2022 16:12:06 +0000
XR Development

I have been building and deploying a UE4 project, which uses OpenCV libraries, to HoloLens 2 device through a direct link cable from my Windows PC. I have noticed that my HoloLens storage space is quickly filling up. When I go to Settings->Storage->Temporary Files, it says that I have around 15 GB of Temporary Files. When I try to delete the temporary files, the operation finishes and I get the standard message, “Finished cleanup. Some files are in use and cannot be removed at this time.” The problem is that the almost none of the temporary files are deleted because the listed temporary files size barely changes.

I have noticed that after each deployment to the HoloLens, the size of the temporary files increases. I have also tried to access and manually delete these files via the Windows Device Portal, File Explorer on my PC while it is connected, and the File Explorer in the HoloLens. I have not been able to find these files or even find directory with a similar size to the listed temporary files size.

The only temporary solution has been to completely reset my HoloLens device. Has anyone run into this problem before? Could it be related OpenCV?

3 posts - 3 participants