Hello, I have a custom editor that saves a .dat file which is then loaded into the game at runtime. (Assets/Jtools/Data/data.dat)
However, when I run the game as a full Windows build, the .dat file is not included in the build? Also, unity seems to be searching for the file in the assets folders which no longer exist in the build. ("Jtools/Data/data.dat not found!")
Is there any way I can setup the folder structure so the file is included in the full build and loaded properly? Thanks!
Edit: I've found that creating the folder path (Jtools/Data/data.dat) inside the build folder works, but having to do that every time is not ideal. IS there a way to automatically include this file/path in there?
↧