Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.17f1
2022.1.24f1
2022.2.5f1
2023.1.0b1
Issue ID
UUM-25420
Regression
Yes
"UnauthorizedAccessException" thrown when using System.IO in UWP Build
How to reproduce:
- Open the attached project "FileIORepro.zip"
- Open Assets/Scenes/SampleScene.unity
- Build And Run the project for UWP
Expected results: No errors thrown in the Development Console
Actual results: "UnauthorizedAccessException" thrown in the Development Console
Reproducible with: 2021.2.0a18, 2021.3.17f1, 2022.1.24f1, 2022.2.5f1, 2023.1.0b1
Not reproducible with: 2020.3.44f1, 2021.2.0a17
Reproducible on: Windows 10
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-17611