Search Issue Tracker

Fixed in 2020.2.X

Votes

1

Found in

2017.4

2019.3.0f6

2020.2

Issue ID

1215931

Regression

No

DllImports get stuck in error loop when a combination of static constructors and UnityEditor.InitializeOnLoad attribute is used

Scripting

-

How to reproduce:
1. Open the user's attached project ("StaticEditorInitDllLoadFailureOnFirst.zip")
2. After the project is opened, inspect the console

Expected results: No exceptions are thrown
Actual results: "System.DllNotFoundException: AkWaapiClient" and "DllNotFoundException: AkWaapiClient" errors keep on being thrown

Reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.4f1, 2020.1.0a25, 2020.2.0a1

Notes:
1. Re-opening the project fixes the issue
2. If the Library folder is deleted, the issue reproduces again, but re-opening the project fixes it

  1. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b3

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.