Created
October 9, 2025 01:23
-
-
Save renanliberato/42d0ac53bd65f8d0725e6f563df7813d to your computer and use it in GitHub Desktop.
check compilation issues on Unity without re-opening the editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Find the latest DAG file automatically | |
| latestDag=$(ls -t Library/Bee/*.dag | head -1) | |
| exe="/Applications/Unity/Hub/Editor/6000.0.58f2/Unity.app/Contents/bee_backend" | |
| # Check for C# compilation errors only | |
| "$exe" --profile="Library/Bee/backend_profiler0.traceevents" --stdin-canary --dagfile="$latestDag" --continue-on-failure ScriptAssemblies | grep "error CS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment