- Home /
WWW Load file from StreamingAssets out of memory
hi,guys: Here is my issue.As you know File class can not access StreamingAssets info on android platform,so I used WWW class instead. In fact it do worked,but when the file in StreamingAssets is a little bigger,such as 150M,it will go crash..I guess it is because of out of memory when WWW www = new WWW(Application.streamingAssetsPath+"/pack.zip"); Anybody has some idea to resolve this? Thanks so much.
There should be an error in the logs when it crashes. Can you provide that?
sorry for late reply,I wasn't on yesterday. Here is the log,thank you .
04-02 18:03:37.720: I/WindowState(562): WIN DEATH: Window{41542818 com.company.app/com.onevcat.uniwebview.AndroidPlugin paused=false}
04-02 18:03:37.740: W/InputDispatcher(562): channel '41542818 com.company.app/com.onevcat.uniwebview.AndroidPlugin (server)' ~ Consumer closed input channel or an error occurred. events=0x9 04-02 18:03:37.740: E/InputDispatcher(562): channel '41542818 com.company.app/com.onevcat.uniwebview.AndroidPlugin (server)' ~ Channel is unrecoverably broken and will be disposed! 04-02 18:03:37.740: W/InputDispatcher(562): Attempted to unregister already unregistered input channel '41542818 com.company.app/com.onevcat.uniwebview.AndroidPlugin (server)' 04-02 18:03:37.760: I/Activity$$anonymous$$anager(562): Process com.company.app (pid 26103) has died. 04-02 18:03:37.780: W/Activity$$anonymous$$anager(562): Force removing ActivityRecord{4142b230 com.company.app/com.onevcat.uniwebview.AndroidPlugin}: app died, no saved state 04-02 18:03:37.780: W/Window$$anonymous$$anager(562): Force-removing child win Window{41548c68 SurfaceView paused=false} from container Window{41542818 com.company.app/com.onevcat.uniwebview.AndroidPlugin paused=false} 04-02 18:03:37.790: D/SWIPE(562): setAppScreenRect 800 480 04-02 18:03:37.800: E/AudioFlinger(173): PlaybackThread::Track destructor
Your answer
Follow this Question
Related Questions
unity3d 4.6.1 crash. System out of memory when building. 0 Answers
Crash on Inspector during play 0 Answers
Browser crash for out of memory 0 Answers
Unity3D 4.6.2 Build Crash Out Of Memory 1 Answer
Script crashes Unity 1 Answer