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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a19
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.5f1