Answer the question
In order to leave comments, you need to log in
How to access file from C# code on android Unity app?
Hello!
I'm making an android app with Unity. In the C# code, there is a read of an external file that was stored in Assets/Data. Everything was easy until I built and opened the project on an android phone. Those lines in the application that should have been read from the file are empty.
I have been looking for an answer for several days, but, most likely due to the fact that I am too green in my yunk, I cannot understand anything.
How can I make it so that the apk file already had the txt files I needed, which I could read in the code?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question