Search Unity

Bug .NET dlls. Loading assembly failed: File does not contain a valid CIL image

Discussion in 'Scripting' started by l33t_P4j33t, May 16, 2021.

  1. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    after upgrading from 2020.1.17f1, to unity 2020.20f1 (or any version past that), i get this error on my managed dll plugin:

    whereas it worked perfectly in the version prior. preverify says everything is fine.
    this is almost certainly because the .net dll was not made in C#.
    did unity finally decide to crack down on other .net languages, or was this an unintentional depreciation?
     

    Attached Files:

    • foov.png
      foov.png
      File size:
      325.6 KB
      Views:
      1,324
  2. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232


    what a crazy language, shame its gone

     

    Attached Files:

    • res.png
      res.png
      File size:
      388.9 KB
      Views:
      1,284
    • coobs.png
      coobs.png
      File size:
      238.3 KB
      Views:
      1,275
    Last edited: May 16, 2021