Thread-Deadlock during prepare method by JIT

Issue #494 resolved
Rainer Bernhardt created an issue

I attached a project with a instruction.txt how to reproduce this bug.

Unity Version: 2018.3.4f1

Inspecting the Unity thread dump shows that there is a lock when two threads preparing types.

Comments (3)

  1. Tor Esa Vestergaard

    Replaced attached project with version that doesn't include Odin, since this is a public issue tracker and everybody can download the file.

    There's not much information in the issue you posted - an example memory dump or stacktrace would be nice. Nevertheless, I will likely have time tomorrow to sit down and try to reproduce the issue with your example project.

  2. Tor Esa Vestergaard

    This issue was in fact resolved a while ago with Odin patch 2.0.16, but the issue wasn't closed with the fix - so I'm doing that now. In fact, in Odin 2.0.17 which was just released, the class which was causing this deadlock has been removed entirely and there is no runtime async initialization in Odin any more. So while it was resolved in 2.0.16, it has become very resolved with 2.0.17!

  3. Log in to comment