Skip to main content
Cleanup
Source Link
DMGregory
  • 141k
  • 23
  • 258
  • 401

Where should I put mya JSON file so it isto be readable from the build in unitya Unity build?

I have a file witchwhich is created manually. In what folder should I put it so I can read it in a build.?

For example Application.dataPathApplication.dataPath in editor reads the file from the assets folder, but if I put it there, will my code find that file in a build if I search it by Application.dataPath + folder name?

Where should I put my file so it is readable from the build in unity?

I have a file witch is created manually. In what folder should I put it so I can read in a build. For example Application.dataPath in editor reads the file from assets folder but if I put it there will my code find that file in a build if I search it by Application.dataPath + folder name?

Where should I put a JSON file to be readable in a Unity build?

I have a file which is created manually. In what folder should I put it so I can read it in a build?

For example Application.dataPath in editor reads the file from the assets folder, but if I put it there, will my code find that file in a build if I search it by Application.dataPath + folder name?

Source Link
Ivan
  • 379
  • 5
  • 16

Where should I put my file so it is readable from the build in unity?

I have a file witch is created manually. In what folder should I put it so I can read in a build. For example Application.dataPath in editor reads the file from assets folder but if I put it there will my code find that file in a build if I search it by Application.dataPath + folder name?