-
Notifications
You must be signed in to change notification settings - Fork 9
VS2022 Issues and Solutions
Solution:
- Go to
Tools > Options
. - Navigate to
Text Editor > General
. - Under the
Display
section, uncheckHighlight Current Line
. - Click
OK
to save the changes.
Update: None of the below solutions work for me. I would just recommend going back to VSCode like I did.
Solution:
- Just wait 10 seconds before doing anything when VS2022 starts up. In other words wait for all the colors to settle. That's it. This solves the issue. This just sadly looks like a quirk of VS2022 and there's nothing we can do about it.
Alternative Solution:
- Go to
Tools > Options
- Navigate to
Environment > General
- Disable
Optimize rendering for screens with different pixel densities
- Disable
Automatically adjust visual experience based on client performance
- Disable
Enable rich client visual experience
- Click
OK
to save the changes. - Restart VS2022
Side Note 1: Keep Use hardware graphics acceleration if available
enabled, this will prevent screen tearing when scrolling. In some cases even with all the above options are disabled the problem will still occur but it will be much more rare. Restarting VS2022 will resolve the issue.
Side Note 2: Clearing the entire VS2022 cache, uninstalling all extensions and reverting back to the default theme will not solve the issue.
Solution:
- Restart Visual Studio 2022.
- If the issue persists, restart Visual Studio 2022 again. Multiple restarts may be necessary.
Side Note: Try experimenting with resetting key mappings in Tools > Options > Environment > Keyboard
to see if it resolves the issue without requiring multiple restarts.
Issue 4 may be related to issue 3.
Solution:
- Go to
Tools > Options
. - Navigate to
Environment > Keyboard
. - In the
Show commands containing
text box, typeEdit.Duplicate
. - Select the
Edit.Duplicate
command from the list. - In the
Press shortcut keys
text box, pressCtrl + D
. - Click
Assign
to assign the shortcut. - Click
OK
to save the changes.
If nothing above works for you, try opening Template.sln
before opening any script directly in the game engine.