Search Unity

Text files in Resources folder

Discussion in 'Package Manager' started by assaf_hershko, Apr 10, 2020.

  1. assaf_hershko

    assaf_hershko

    Joined:
    May 20, 2017
    Posts:
    9
    I hope this question belongs in this forum. Here goes...

    So, I'm placing a large amount of text files (in particular, json files) in the Resources folder.

    Would Unity automatically handle compressing/uncompressing them (when packaging, and later on accessing them via the TextAsset class), or is this something I need to handle by myself?

    I'm mindful of the package size (this is for mobile platforms), and hence the question/need to consider compression.

    Thanks :)
     
  2. samuelb_unity

    samuelb_unity

    Unity Technologies

    Joined:
    Nov 13, 2017
    Posts:
    151