BetterStreamingAssets | A plugin for Unity that lets you access Streaming Assets | Plugin library
kandi X-RAY | BetterStreamingAssets Summary
kandi X-RAY | BetterStreamingAssets Summary
A plugin for Unity that lets you access Streaming Assets directly on Android.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of BetterStreamingAssets
BetterStreamingAssets Key Features
BetterStreamingAssets Examples and Code Snippets
Community Discussions
Trending Discussions on BetterStreamingAssets
QUESTION
I'm trying to create an AudioClip from ".mp3" or ".wav" files that exists in the StreamingAssets folder
I'm trying to get a byte array from the file using BetterStreamingAssets package, then converting the array of bytes to audioClip, but many files arn't converted correctly.
So, I tried to get it using WWW or UnityWebRequest so here is my code
...ANSWER
Answered 2020-Jul-01 at 10:02If your path is in general correct totally depends on this BetterStreamingAssets.Root
and soundPath
... you didn't show.
I just looked into the Asset and it looks pretty unnecessary to me.
Simply use the correct and built-in Application.streamingAssetsPath
which is always correct for the according target platform.
Also you are trying to access BetterStreamingAssets.Root
which on android translates to
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BetterStreamingAssets
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page