Read file on the same folder as the Unity Application on MacOs


Read file on the same folder as the Unity Application on MacOs



I am trying to find a way to read files that are in the same folder on my Unity build. It works perfectly on Windows, but MacOs don't find them...



For now I have to put my files into the contents folder of the application, then use Path.Combine(Application.dataPath,fileName)



Does anybody have an idea?



Thank you!





Where did you put the file you want to read? From the Editor? If so, where in the Eitor?
– Programmer
Jul 2 at 10:42










By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

How to make file upload 'Required' in Contact Form 7?

Rothschild family

amazon EC2 - How to make wp-config.php to writable?