Development Build seems to not disable debug cheat keys

[Question] Irrespective of whether I have the Development Build checkbox checked or not, I can use the cheat keys (debug keys) to disable collisions. Here is my code:

if (Debug.isDebugBuild) { RespondToDebugKeys (); }

I have only used the settings and have not actually built the project, but I would expect the debug keys to not function when I have the checkbox for Development Build unchecked. Can anyone explain why this is not working?

Hi @Sorendark.
When making your game, everything within unity is essentially treated like it’s a development build. You have to actually build the project to notice the difference.

The reason that it’s useful to build with those settings enabled is because you may want to share your game with people who may need those options available (like QA, play testers, etc.).

Hope that helps.

1 Like

Thanks

Privacy & Terms