- Home /
Question by
rubyleehs · Sep 25, 2018 at 03:08 PM ·
build-errorbuild errorstreamingassets
Unity 2018 WWW stream local assets working in Editor but not in Windows build.,Unity WWW working in Editor but not build. Uncertain if bug.
The code in question is:
WWW _audioFileUrl = new WWW(string.Format("file://{0}", _files[i]));
_files[i] is a .ogg/.wav FileInfo located in Unity StreamingAssets folder. _files[i] is working as intended and has the correct file.
In Editor, no errors or warning. everything works as intended. In Windows Build, it seems like the Coroutine pauses/freezes/is always on that line.
I am uncertain if it if my fault or not. If it is a bug, are there alternatives? If you need more info, ask and you shall receive.
Comment
Your answer
Follow this Question
Related Questions
Unable to list target platforms. When I try to build to Andriod on Mac 5 Answers
Character Model Works in Editor but Distorts in the Build 0 Answers
when i take the build it fails 0 Answers
Gradle Build Error 1 Answer
Can't build my android project 1 Answer