Search Unity

C# Assembly version collision

Discussion in 'Formats & External Tools' started by Blargenflargle, Dec 31, 2020.

  1. Blargenflargle

    Blargenflargle

    Joined:
    Feb 24, 2019
    Posts:
    92
    Hello,

    I'm trying to import this package and running into a weird issue.
    When I import it into a fresh project it runs just fine. However when I import it into a project with DOTS (or import DOTS into a project with the DearImGui package) it breaks. The problem is that the DearImGui package requires version 4.0.6.0 of the "System.Runtime.CompilerServices.Unsafe.dll." while installing DOTS packages (Entities, Collections, Jobs, etc) installs later versions of the Unsafe.dll. These later versions are incompatible with the DearImGui package.

    My question is, shouldn't this work? Shouldn't both packages be able to reference their own versions of the Unsafe.dll thus avoiding this issue all together? Why does importing Unity packages overwrite the version used in the DearImGui package?? Thank you.
     
    imtzo likes this.