Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can the custom package in Pakcages be encrypted?

Discussion in 'Package Manager' started by Yijiankeji, Sep 9, 2019.

  1. Yijiankeji

    Yijiankeji

    Joined:
    Jul 27, 2019
    Posts:
    43
    Hello,
    Is there any way to encrypt the local custom package in the package manager, or is there any plan for future unity?

    If not, I can only put the code into a dll and put it in the plugins directory.
     
  2. manu73

    manu73

    Unity Technologies

    Joined:
    Aug 22, 2014
    Posts:
    68
    @Yijiankeji

    There's no such plan to encrypt sources (aka C# code) in a local custom package. But you can have your own build system and generate a DLL from your sources and distribute it inside your package.

    Regards,
    EmmanuelH