- Home /
Problems with Exported Game
When I export my Unity project, the build uses scripts (but not an old scene) from an old version of my project, despite the fact I deleted old instances of the scripts. Does anyone know how to fix this problem? Thanks
Comment
Best Answer
Answer by Snw123 · May 18, 2021 at 01:20 AM
Hey, I figured out the problem. I had a problem with the Stream Reader function- I had a text file that the editor could load, but the build couldn't, and I fixed it by instead using a Text Asset instead of a Stream Reader (see this thread, its what solved my problem!: https://answers.unity.com/questions/272486/cannot-read-or-write-a-txt-file-after-build.html)