DebugGameEditor/DebugGame VisualStudio configurations creates undebuggable code

Hey-

Understanding exactly what you’re referring to helps us when trying to reproduce the issue. The sentence where you use the term is very confusing to follow and we’re just trying to make sure we know what you mean. Sometimes this requires directly asking so we don’t make the wrong conclusion.

From what I’ve found about compiled out variables, if running in debug mode doesn’t fix that you can put the following line at the top of your .cpp file with the variable you want to watch: #pragma optimize("", off) That will turn off those optimizations for all functions in the file from that line down. However, that kind of pragma should not be checked in since it will make the final product slower.

Cheers