Search Issue Tracker
In Progress
In Progress in 2021.3.X
Fixed in 2022.2.5f1, 2023.1.0a19
Votes
2
Found in
2021.3.10f1
2022.1.16f1
2022.2.0b7
2023.1.0a10
Issue ID
UUM-14580
Regression
Yes
"DllNotFoundException" is printed in Xcode when using "File.SetAttributes(path, FileAttributes.Hidden)" on iOS devices
How to reproduce:
1. Build And Run the “Hidden.zip” project on an iOS device
2. Observe the Xcode’s console window
Expected result: “DllNotFoundException” message doesn’t appear
Actual result: “DllNotFoundException” message appears
Reproducible with: 2021.2.0a18, 2021.3.10f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a10
Not reproducible with: 2020.3.39f1, 2021.2.0a17
Reproduced on:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
Note: Not reproducible with Android
Full error:
DllNotFoundException: Unable to load DLL 'System.Native'. Tried the load the following dynamic libraries: Unable to load dynamic library '/System.Native' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen(/System.Native, 5): image not found
at Interop+Sys.LChflags (System.String path, System.UInt32 flags) \[0x00000] in <00000000000000000000000000000000>:0
at System.IO.FileStatus.SetAttributes (System.String path, System.IO.FileAttributes attributes) \[0x00000] in <00000000000000000000000000000000>:0
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
- [Quest 2] Surface shader and multi-view sampling custom textures broken in Quest 2
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
Resolution Note (fix version 2023.1.0a19):
Fixed in: 2023.1.0a19
Resolution Note (fix version 2022.2.5f1):
Fixed in: 2022.2.5f1