Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2018.3.0b1
2019.1.0a1
2019.1.0b2
2019.2.0a1
Issue ID
1124910
Regression
No
Unable to load DLL "advapi32.dll" when calling DateTime.Now
Steps to reproduce:
1. Download 1124910_repro.zip project
2. Add a breakpoint in test.cs at line 13
3. Build project for UWP with "Scripting Debugging" and "Wait for the Managed Debugger" enabled
4. Open Visual Studio solution and build project (x64, local machine)
4. When player launches attach manage debugger (Debug->Attached Unity Debugger)
5. Step through code
Results: Exception is trigger at DateTime.Now
Exception:
System.DllNotFoundException: Unable to load DLL 'advapi32.dll': The specified module could not be found.
Reproduced with: 2019.2.0a10, 2019.1.0b9, 2018.3.10f1
Note:
- The exception doesn't show up in UWP build's VS solution project
Comments (2)
-
mspink
Jul 30, 2021 20:41
I'm seeing this in 2020.3.5f1
-
vfilho
Feb 18, 2020 13:41
This is still happening on 2019.2.21f1 and the 2019.3.1 is full of bugs and crash the Mac os sometimes.
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 (fix version 2019.3):
Implemented a new exception handling system for the IL2CPP debugger agent that does not rely on having symbols, enabling us to correctly predict whether exceptions will be caught in situations where symbols are not available.