Skip to content

Instantly share code, notes, and snippets.

View mathias-bevers's full-sized avatar

Mathias Bevers mathias-bevers

View GitHub Profile
@mathias-bevers
mathias-bevers / fix-unity-ndk-path.sh
Last active March 31, 2026 14:30 — forked from foriequal0/fix-unity-ndk-path.sh
Fix Unity NDK Path
#!/usr/bin/env bash
UNITY_HUB_EDITOR=${1:-$HOME/Unity/Hub/Editor}
pushd "$UNITY_HUB_EDITOR" > /dev/null
for UNITY in *; do
echo "Checking: $UNITY"
CLANGPP="$UNITY_HUB_EDITOR/$UNITY/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++"
if ! [ -f "$CLANGPP" ]; then
echo " Android Build Support is not installed"