Search Issue Tracker
Fixed in 2021.3.23f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a19
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.5f1