I’ve created a txt file and the txt file is on my desktop. How do i get unity to read this external file by using C# and display it on the web player html?
I tried researching around but i couldn’t get any solution.
The security sandbox prevents Unity applications from accessing arbitrary files on the host computer filesystem. If you want read a text file into your game during runtime you should save it in the Resources folder: Unity - Manual: Loading Resources at Runtime