Ctrl+B - Now all scenes in my project are broken!!!

I meant to press Ctrl+V but I can’t believe I just accidentally pressed the (useless and evil) Ctrl+B button and now my project is broken.

What kind of hotkey is that anyways? I don’t even know what it’s intended for??

I use Unity 2017 + SteamVR - In the scene where I pressed the hotkey now my camera is facing sideways. And in all other scenes my frame rates dropped to 1!!!

WTH just happened???

Build & Run. It builds your project as XYZ (Standalone/WebGL/… whatever you’ve chosen) and runs it afterwards.

I notice that if I remove all rigidbodies then the framerates go back to normal. Does Ctrl+B change physics settings?

Also I notice that every script in every scene now says “Nothing Selected”.

And I cant drag in any scripts because it say to “check for compiler errors” but there are no errors in the console, and everything compiles ok.

What a mess…

Ok it fixed it’s self. Not sure how or why, but when I created a new script called “blank.cs” on a random gameobject all the scripts came back and no longer say “Nothing Selected”.

Total Unity bug…

If you’re able to reproduce this issue, it would be helpful to submit a bug-report following the advice in this document.

No, it’s just a quicker way of building your project and testing it. Other than that, it shouldn’t really change anything in your scenes at all. If you can reproduce this, file a bug report as @Peter77 suggested.

Well, it happened again. Very reproducible.

Can We Please Have Option To Disable This Hotkey? Please! It’s been asked so many times.

I’m currently investigation using an application from Logitech to assign a macro and override Ctrl+B to do something else when the Unity window is focused, this just seems very unnecessary to have to do all this just to avoid accidentally breaking my entire project every time I (get a little tired and) press that horrible key combination that’s just sitting right next to “Ctrl+V”.

1 Like

Seriously, this has been driving me nuts.

Is there a way to disable this incredible stupid hotkey.

3 Likes

Because of the CTRL-B hotkey existing, I’ve learned to not even use CTRL-C and CTRL-V in Unity. Instead I select the options from the Edit menu. I made this same mistake before. To add insult to injury, if you cancel the build, the mesh filters your scene can be permanently altered. Unity Issue Tracker - GameObjects mesh is stuck at Combined Mesh (root:scene) and cannot be moved after aborting a build process
Luckily that issue is fixed in future versions of Unity.
Make sure this didn’t just happen to you.

1 Like

I noticed that using CTRL+B does in fact mess up my game also while in Editor mode. The animator page is completely unclikable after running it. A reboot fixes the issue but a total pain.

I don’t understand why it’s existing is around still. CTRL B should be removed if you ask me and simply left in the file menu. I would think it is not used enough to warrant a hotkey spot especially slapped right beside the most commonly used paste button.

FYI, you can click the ESC key to break the build, but you need to do it relatively quickly once you notice the game lag in preparation of building lol. I just mash it!

1 Like

I agree. Ctrl + B is an rediculous option for such an intensive process given it’s relative position to the V button. Even Crtl + Shift + B would be much better.

A reminder to the Unity team, this is still an issue.
And is still not available through the custom keybinding in preferences.

Anyone ever going to do any ctrl+c, ctrl+v operations in hierarchy better be careful.

Well, if you ever make this kind of mistake, simply click Ctrl + Z and it should fix it immediately.
I’m glad I stumbled upon this thread though. What’s the Ctrl + B do anyway?

If you accidentally hit Ctrl+B it starts building your project without any prompt.
Cancel a build midway can in some cases cause permanent file changes, not to mention it can take ages and use all your cpu, freezing your computer. No ctrl+z available for that I’m afraid.

You will encounter this a lot if you ever are in the situation of copy pasting text, names or single values on hierarchy objects.

1 Like

Wow… smh … That’s a nice troll, Unity …