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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
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.