Wrong path to external asset when downloaded player

Hi,

I’m using this to get the path to my external assets that are relative to the player.
System.IO.Directory.GetCurrentDirectory()

Works. However, if I upload the folder (app + zip) to my server and download the zip and unzip it, it won’t get the same path.

This is for Mac OS.

After downloading zip, I control click to run the app (because of permission need for downloaded apps to run on Mac).

The app runs, but the path to the folder is wrong.

This is how it should be and works even on other computers as long as moved via a hard drive… Users/blah blah blah

5057027--496514--Screen Shot 2019-10-11 at 2.16.37 PM.png

This is how it shows up after downloading and running the app (after giving permission to run):
private/bar/blah blah blah
5057027--496517--Screen Shot 2019-10-11 at 2.16.20 PM.png

How to get the path after downloading to be correct?

Thank you for your help!

Well, the coding answer is to translate the code into StreamingAssetPath, based on this URL:

and placing the external folder within the project as StreamingAssets.

And it will work as long as it is prepended with “file://” such as:

slide_path = Path.Combine(Application.streamingAssetsPath, SlidePath + “/” + ImageList[StartCube]);
slide_path = “file://” + slide_path;

Guess that’s the coding answer unless someone has a setting-the-permissions-right answer for Mac.