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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Can the contents of an AssetBundle be encrypted?

Discussion in 'Editor & General Support' started by CloudyVR, Mar 16, 2018.

  1. CloudyVR

    CloudyVR

    Joined:
    Mar 26, 2017
    Posts:
    709
    Hi,

    I am new to AssetBundles but can see how they could be very useful for downloading content from my webserver into my game.

    But I do not want the content of my assetbundles to be easily modified, and I wanted to ask if the AssetBundle files on the server can be encrypted, and how to decrypt it in the engine at runtime?

    Also would using HTTPS be a good way to add layered encryption (or is this easily bypassable)?

    Thanks.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,876
  3. ChiuanWei

    ChiuanWei

    Joined:
    Jan 29, 2012
    Posts:
    131
    ;)but i think the load speed it cost a lot of time..
     
  4. scareface124

    scareface124

    Joined:
    Aug 19, 2017
    Posts:
    4
    how to save asset bundle in encrypted format when build assetbundle is clicked ? I cannot get bytes to encrypt it myself.