- Home /
how to CreateDirectory in webgl unity ,how to CreateDirectory in webgl unity ?
im use System.IO.Directory.CreateDirectory(Application.streamingAssetsPath); but not working in webgl please help me . tnks, System.IO.Directory.CreateDirectory(Application.streamingAssetsPath); not working
Comment
Answer by Marco-Trivellato · Feb 21, 2019 at 05:58 PM
Application.streamingAssetsPath is typically a http://... url. It can't be used for file IO.
If you need to create a Directory in the browser storage, you can use Application.persistentDataPath instead.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Is possible to call game logic without SendMessage in WebGL Build 0 Answers