Search Issue Tracker

Fixed in 2019.3

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

IL2CPP

-

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

  1. Response avatar

    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.

Comments (1)

  1. E9f24e59249f1cd1d7b39e285936ce38?d=mm

    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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.