Search Unity

Do you support the use of System.IO.Pipelines?

Discussion in 'Scripting' started by zhuxianzhi, Feb 20, 2021.

  1. zhuxianzhi

    zhuxianzhi

    Joined:
    Mar 30, 2015
    Posts:
    122
    I need to write a high-performance real-time audio system. I found this library (System.IO.Pipelines), but Unity seems to be unavailable. I tried to download it using NuGet and put it in Assets/Plugins, but there were still various reference errors.
     
  2. VolodymyrBS

    VolodymyrBS

    Joined:
    May 15, 2019
    Posts:
    150
    You could try to use System.IO.Pipelines in Unity by coping dll from nuget package but you need to add dependencies dlls too.
    To make System.IO.Pipelines works you need:
    • System.Buffers
    • System.Memory
    • System.Threading.Tasks.Extensions
    • System.Numerics.Vectors
    • System.Runtime.CompilerServices.Unsafe
     
    zhuxianzhi likes this.
  3. zhuxianzhi

    zhuxianzhi

    Joined:
    Mar 30, 2015
    Posts:
    122
    Thank you very much, I tried to build an Android IL2CPP, and everything seems to be working now. Since I cannot build IOS at present, are there any compatibility issues (IOS/IL2CPP)?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    I would intuit that WebGL would probably not work.