How to debug Unity Game in Editor Play Mode in Ubuntu 22.10

Quick summary:

  • Step 0 - Install Unity using the official guide: Unity Hub on Linux

  • Step 1 - Install vscode either via Ubuntu Software or by installing the official .deb package

  • Step 2 - Install both the deprecated “Debugger for Unity” and “C#” extensions for vscode.

  • Step 3 - Install mono: apt-get install mono-runtime

  • Step 4 - Switch Unity Editor to debug mode (click on bug-like icon on the bottom-right of the editor)

  • Step 5 - Install netstandard library: apt-get install mono-devel

  • Step 6 - Make Games! :sunglasses:

2 Likes