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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question How to downgrade nuget-based Unity embedded packages?

Discussion in '2020.1 Beta' started by MrLucid72, Mar 21, 2020.

  1. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    892
    Eg, System.Buffers.4.4.0 - For use with Photon (realtime service), I need 4.3 (downgrade).

    I noticed Unity uses Nuget. How can I "properly" downgrade this package? I can't find Buffers in the package manager and seems like 'manifest.json' doesn't even include Buffers (no system stuff):



    Code (CSharp):
    1. Assembly 'Assets/Libs/Photon PUN Wrapper/Plugins/PhotonClientWebSocket/WebSocketsClientManaged/System.Net.WebSockets.Client.Managed.dll' will not be loaded due to errors:
    2. System.Net.WebSockets.Client.Managed references strong named [B]System.Buffers[/B], versions has to match. [B]Assembly references: 4.0.2.0 Found in project: 4.0.3.0[/B].
    3.  
    Assembly 'Assets/Libs/Photon PUN Wrapper/Plugins/PhotonClientWebSocket/WebSocketsClientManaged/System.Net.WebSockets.Client.Managed.dll' will not be loaded due to errors:

    Using the latest Unity 2020 beta as of yesterday.
     
    Last edited: Mar 21, 2020