StreamingAssets on Linux builds

Good day,

I use the StreamingAssets folder on Windows/Mac builds. The client has recently requested a Linux build which would be awesome indeed. However, I noticed the StreamingAssets folder is not being copied on build and manually copying it does nothing, it doesn’t seem to be able to access it.

Is this a known issue?

Thanks,
Sander

No one?

I’ve got the same issue. Unfortunately I can’t find any information about it either, but I can confirm that any Streaming Assets stuff just doesn’t work on Linux.

I just tried to make a linux build of one of my projects for the first time and ran into this same issue. Have either of you submitted a bug report?

Actually, contrary to what the original post says, it looks like I can work around the issue by manually copying the StreamingAssets folder into the build (it goes in the _Data folder). I managed to successfully load a file from there in Linux.

Here’s a bug report for it not being copied, anyway: [edit: Removed the bug report link as it was causing my email to show up on Google in a roundabout way].

Good to know that manually copying the StreamingAssets in seems to be working for you. I just noticed that StreamingAssets was missing and assumed that’s why my project was crashing, I guess maybe it’s also some other reason. :wink:

Got a reply from Unity QA: “That issue is already fixed internally and will ship with a future version of Unity (not a 4.1.x version though).” :slight_smile:

@Nition: Nice, I’ll try copying it manually again.

We’ve contacted support about this and they told us it wouldn’t be 4.1.x indeed, but 4.2.

We did some simple tests in 4.2: streaminassets are copied and can be loaded on linux!