- Home /
How can I get Unity to respect mcs.rsp changes between multiple builds?
We have a CI setup that we use to create out builds for us. When we are prepping a release we make two builds back-to-back; A development build with all debug options on, and a Release build. We do this so that if an issue is discovered at the last minute in the Release build we can use the Development build to quickly start trying to get more information and consistent repro steps.
Unfortunately, when we create these builds back to back, Unity appears to ignore the modified mcs file which contains the pre-processor directive we use to enable/disable features. I know that forcing a re-import of a script file will cause a recompile which will catch the updated mcs, however I cannot get this to work automatically when using AssetDatabase to force the re-import.
Any ideas or suggestions on how to overcome this challenge?
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Is it possible to select a prefab during the build process? 1 Answer
Share same assets with multiple standalone builds 0 Answers
Custom Pre Build Process? 4 Answers