Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unloading broken assembly System.Threading.Channels.dll

Discussion in 'Package Manager' started by rdcm, Dec 26, 2021.

  1. rdcm

    rdcm

    Joined:
    Jan 9, 2017
    Posts:
    5
    Hi,
    I'm currently developing my network library and publishing it as a *.unitypackage, inside the package I have a Plugins folder with the following system content:

    Code (CSharp):
    1. System.Buffers.dll
    2. System.Memory.dll
    3. System.Runtime.CompilerServices.Unsafe.dll
    4. System.Threading.Channels.dll
    5. System.Threading.Tasks.Extensions.dll
    After some improvements at the code base System.Threading.Channels were added and now I got an error:


    Unloading broken assembly Assets/Plugins/LibName/System.Threading.Channels.dll, t
    his assembly can cause crashes in the runtime



    How could I solve this?

    Required types:

    System.Threading.Channels:Channel
    System.Threading.Tasks:ValueTask


    Os: macOs Monterey
    Unity version: 2020.3.24f1/2020.3.25f1
     
  2. rdcm

    rdcm

    Joined:
    Jan 9, 2017
    Posts:
    5
    After observing logs still haven't idea why this assembly is in a broken state.