Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.8f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1161104
Regression
No
UWP use of StorageFolder to access files returns system exception
Steps to reproduce:
1. Download attached project
2. Switch platform to UWP
3. Build SampleScene
4. Open VS solution
5. Add restricted Capability broadFileSystemAccess
6. Build (Debug, x64, local Machine)
5. Select "Main Storage folder request" or "BG Storage Folder request"
Expected results: List of files are returned
Actual results: Exception is thrown
Exception thrown at 0x00007FF973E99129 (KernelBase.dll) in case_1161104-Repro.exe: 0x80010108: The object invoked has disconnected from its clients.
Reproduced with: 2019.3.0a6, 2019.2.0b6, 2019.1.7f1, 2018.4.2f1, 2017.4.0f1
Note
- Reproducible with IL2CPP and .NET backend
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2019.3.X):
The reason this happens is due to incorrect usage of StorageFolder APIs. This isn't a bug in Unity.