Search Issue Tracker
By Design
Votes
0
Found in
5.5.1p3
Issue ID
900246
Regression
No
[iOS][IL2CPP] log4net throws Errors: log4net:ERROR Exception while reading ConfigurationSettings
Errors appear in the Xcode Console when the project is run on iOS.
Steps to reproduce:
1. Open User's attached project
2. Make sure that Scripting Backend is set to IL2CPP and Api Compatibility Level is .NET 2.0
3. Build for iOS
4. Run via Xcode for iOS device
Result: Errors are thrown:
log4net:ERROR Exception while reading ConfigurationSettings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: Type 'System.Configuration.AppSettingsSection, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' not found.
at System.Configuration.SectionInfo.CreateInstance () [0x00000] in <filename unknown>:0
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationSettings.get_AppSettings () [0x00000] in <filename unknown>:0
Reproduced with: 2017.1.0b1, 5.6.0f3, 5.5.3f1.
Not reproduced with: 5.4.5f1 (corrupted files).
Tested with: iPhone 6S iOS10.3
Note:
Not reproduced with Android (Samsung Galaxy S6 edge) with IL2CPP.
If Scripting Backend is set to Mono, the issue does not appear.
Comments (1)
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
makahou
Apr 26, 2017 05:07
I have run into this error too. Does anyone have any idea to solve it?