Skip to content

Instantly share code, notes, and snippets.

View sarah-j-smith's full-sized avatar

Sarah Smith sarah-j-smith

View GitHub Profile
@sarah-j-smith
sarah-j-smith / README.md
Last active June 19, 2025 20:38
Bash script for Mac to start rider from command line and open the current Unreal Project

Rider Start Script

Bash script for Mac to start rider from command line and open the current Unreal Project.

Why

Like Android Studio with it's studio and Visual Studio Code with code we want to be able to just type rider in a folder and have it do the right thing.

If you run this command from a directory with at least one MyUnrealProject.uproject file it will open the first one it finds using the version of Rider installed in your Mac /Applications folder.

@sarah-j-smith
sarah-j-smith / Cook.txt
Created May 20, 2025 06:57
Unreal Engine Editor crash on deploy to iOS in FinalizeBuildSettingsForLayer
Log file open, 05/20/25 16:51:17
LogConfig: No local boot hotfix file found at: [../../../../../../sez/depot/UnrealEngine2D/CrustyPirateGame/Saved/PersistentDownloadDir/HotfixForNextBoot.txt]
LogPluginManager: Looking for build plugins target receipt
LogPluginManager: Found matching target receipt: ../../../../../../sez/depot/UnrealEngine2D/CrustyPirateGame/Binaries/Mac/CrustyPirateEditor.target
LogPluginManager: Looking for enabled plugins target receipt
LogPluginManager: Found matching target receipt: ../../../../../../sez/depot/UnrealEngine2D/CrustyPirateGame/Binaries/Mac/CrustyPirateEditor.target
LogAssetRegistry: Display: Asset registry cache read as 35.8 MiB from ../../../../../../sez/depot/UnrealEngine2D/CrustyPirateGame/Intermediate/CachedAssetRegistry_0.bin
LogPluginManager: Mounting Engine plugin EnhancedInput
LogPluginManager: Mounting Engine plugin ChaosCloth
LogPluginManager: Mounting Engine plugin CmdLinkServer
@sarah-j-smith
sarah-j-smith / build-editor.sh
Created February 5, 2025 11:57
Mac Bash script to build the editor version of an Unreal project
PROJ=$(find . -name "*.uproject")
if [ -z "$PROJ" ]; then
echo "Run this from inside the folder containing your Unreal project file - eg \"MyGame.uproject\"."
exit 1;
fi
# Only major version as per pathname
UNREAL_VERSION=5.5
PROJ_NAME=$(basename $PROJ .uproject)
CUR_DIR=$(pwd)
PROJ=$(find . -name "*.uproject")
if [ -z "$PROJ" ]; then
echo "Run this from inside the folder containing your Unreal project - eg \"MyGame.uproject\"."
exit 1;
fi
PROJ_NAME=$(basename $PROJ .uproject)
CUR_DIR=$(pwd)
echo "Regenerating project files for ${PROJ_NAME}..."
@sarah-j-smith
sarah-j-smith / Unreal-VSCode-intellisense-fix.md
Last active September 15, 2024 10:41
Apple Mac - C++ Properties file for Visual Studio Code - with Unreal Engine include paths

To Use This

  • Install Visual Studio Code (not Visual Studio)
  • Make sure Xcode / clang is installed per instructions
  • Ensure the VS Code extension called "C/C++ for Visual Studio Code" from Microsoft
  • Press ++p and type "C/C++: Select IntelliSense Configuration..." - press enter
  • Select "Use clang++ found at /usr/bin/"
  • Should see a file as above, mostly filled out - add the "includePath" section
  • Ensure "autosave" is turned on
  • Install Unreal Engine 5.x
@sarah-j-smith
sarah-j-smith / NSFileProtectionType
Created January 12, 2023 04:35
Complete protection type using encryption for iOS.
/// The file is stored in an encrypted format on disk and
/// cannot be read from or written to while the device is locked or booting.
Complete Protection (NSFileProtectionComplete)
@sarah-j-smith
sarah-j-smith / cross-platform-mobile-dev.csv
Last active July 18, 2022 03:12
Currently cross-platform mobile dev allowing app & play store publishing
Name Development Language
React Native Javascript
Flutter Dart
Xamarin C#
Ionic Javascript (webviews)
@sarah-j-smith
sarah-j-smith / create_mirror.sh
Created September 9, 2021 00:04
Creating a mirror of the repo to use with BFG
cd ~/src
git clone --mirror [email protected]:my-git-name/RepoWithExposedSecrets.git
java -jar ~/bin/bfg-1.14.0.jar --delete-files Credentials.json RepoWithExposedSecrets.git
@sarah-j-smith
sarah-j-smith / bfg_clean_run.sh
Created September 8, 2021 23:49
Running the BFG to clean your repo
cd ~/src/RepoWithExposedSecrets.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive
@sarah-j-smith
sarah-j-smith / fresh_clone.sh
Created September 8, 2021 23:45
Fresh clone of your repo
# Get the SSH clone link from your repo and check it out with a distinctive name
mkdir -p ~/src && cd ~/src
git clone [email protected]:my-git-name/RepoWithExposedSecrets.git\
freshRepoWithExposedSecrets