- Home /
Correct path for StreamingAssets folder
As per the docs to access StreamingAssets, we should use Application.streamingAssetsPath
On Android device I get the following path jar:file:///data/app/com.crashtest.www-1/base.apk!/assets
But when I search the forum everyone recommends the following path : "jar:file://" + Application.dataPath + "!/assets/"
Difference in both paths one of them has two forward slashes(/) & the other one has three. Which one is right.
In my game I use, Application.streamingAssetsPath, But some of our users are complaining of game freezing on launch, When I checked the logs, I see an error on failing to load the file & it throws FileNot FoundException. The strange thing is, its happening randomly on our live game. We never see this problem during internal testing.