- Home /
How do I load a 60mb text file?
I'm trying to load a text file that is 60mb an 18000 pages using the WWW class. Here is my code.
var dataFile: String = "file:C:\\Users\\m7a\\Documents\\JSONfiles\\all";
var dataWWW: WWW = new WWW (dataFile);
yield dataWWW;`
Only problem is that after yielding for a few minutes unity becomes unresponsive and I have to go to the task manager to end the program. Any ideas?
Comment
Your answer
Follow this Question
Related Questions
Read dialog text from text file in javascript 0 Answers
Can you load an AudioClip from the file system w/o using WWW? 0 Answers
Load and save text from web server 2 Answers
Loading text into Gui.Box 2 Answers
load file with www on webplayer 1 Answer