Hi guys. I just experienced an issue where a stable build we have been using for weeks was affected by some changes in the project directory that we were testing for the next version of the game/demo. Specifically, the old “stable” build was unable to identify joystick-based input anymore.
I have the project on git, and in my development branch, I had changed several of the input settings and made a test build in a new directory outside of the git repo. If this new branch is checked out, then the issue occurs, but switching back to the old branch resolves it. Both the new and old builds are in separate directories on my desktop, outside of the git repository, so these are not affected by the branch switching.
This has me scratching my head as to why the executable would be dependent on the project directory after the build. Do changes in the project affect the windows registry or something similar, which in turn can affect an existing build? Or could it be that making the new test build caused this somehow? I should point out that both use the same joystick input, there was just one small change in the newer build that switched the trigger input to a button instead of an axis…
I now know that I can prevent the issue by making sure the old branch is checked out before running the executable, but I don’t understand why this would be necessary. Any tips would be appreciated.