- Home /
Unity shortcut does not work after compiling code changes
Hello,
I started a new project and I switched from Unity 2017 to Unity 2019.315f1 for the first time. I encountered annyoing problem:
I switch from Unity to Visual Studio using alt + tab
I made some changes in code, than I saved them using ctrl + s shortcut
I'm switching to Unity to test my code changes using alt + tab
I'm waiting to Unity compile code changes
And NOW - in version 2017 I could immediately press ctrl + p (play) after Unity compiles code changes, but in 2019.315f1 I'm facing some issue which is:
After saving code changes and getting back to Unity and waiting till Unity compiles code changes I can't use play shortcut (ctrl + p).
It seems like Unity is not an active window after compiling code changes and I must click on Unity (anywhere) and then use play shortcut.
I filmed that process and I found that while Unity is compiling code changes some window pops up for very, very short period of time (it is almost unnoticeable) and after that Unity window acts like not active window, than I must click on unity and shortcuts work fine. I captured screenshot from process film and it looks like this:
link Window pop up screenshot
Seems like "Importing" window pop up causing my issue, what is that?
Looking forward for your help.
Answer by smougie · May 30, 2020 at 12:26 PM
@EDIT
I found solution for my problem. Project settings > Editor > Asset Pipeline When I change from version 2 to version 1 (deprecated) problem stops occuring. ![alt text][1][1]: https://ibb.co/V3NjCLd
Now my question is why and how important is version 2? How to fix it for the future?
Your answer
Follow this Question
Related Questions
Game works in editor, not in build 1 Answer
Bug? Overlay Menu will not open using Space or any other key (2021.2.7) 0 Answers
Unity stopped compiling automatically 5 Answers
Using ScreenCapture.CaptureScreenshot freezes Unity Editor (2019.4.26f1) 0 Answers
C# dll "MissingMethodException" - Before first recompile 1 Answer