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

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!: Cannot read or write a txt file after build - Questions & Answers - Unity Discussions)