• Installing OBS

    OBS is a handy piece of software for capturing and streaming video. I use it when I’m doing tutorials for work but I’m also going to start pushing “How To” videos so I thought I’d do a quick overview of the set-up process. First, go to https://obsproject.com/download and download the installer that works for your…

  • Handy site for viewing raw image formats

    If you’re trying to figure out the format of a chunk of image data, then this site (here) is really handy. I had an image file in a weird format and needed to figure out what it was. I uploaded the image, entered a few parameters and figured it out within 30 seconds.

  • Rename a member in Unity without losing the assignments in the Inspector

    This is pretty simple when you have the right tag. public GameObject m_foo; To rename m_foo to m_bar without losing the assignments that have been set in a Unity scene, add the following on the line before the m_foo declaration: – [FormerlySerializedAs(“m_foo”)] Now rename m_foo to m_bar and go have a look at the scene…

  • Quaternions: Set up an Quaternion to give a specific angle on a specific axis

    Again, just dropping this here so I know where to find it. The following will set up a 1 degree rotation around the x axis (in this case it’s just rotating a Unity transform by 1 degree in the x)

  • ADB Quick Commands

    I keep looking these up, so dropping them here so I don’t have to: – This will echo all output from a Unity project; adb logcat Unity:V *:S This will echo all output from a Unity project to a file; adb logcat Unity:V *:S -d >> output.txt This will clear the log; adb logcat -c…

  • XCode: “iPhone is not available. Please reconnect the device.”

    I upgraded my iPhone 11 to iOS 14 today and got the message “iPhone is not available. Please reconnect the device.” when trying to send an app to it from XCode 11.4.1. The message doesn’t really match the problem, as the problem was actually that I needed to install XCode 12 in order to support…

  • Unity Build Failure, unable to update SDK

    So, building on Android, I get the error; “Unity Build Failure, unable to update SDK”. The project I’m working on has been updated to a new SDK but Unity doesn’t have that SDK version installed I used the SDK manager to update to the correct API but Unity didn’t see the change as Unity is…

  • adb commandline

    Quick adb commandline to show the details you actually want: – adb logcat –s Unity ActivityManager PackageManager dalvikvm DEBUG      

  • Changing a package name in Android Studio

    https://stackoverflow.com/questions/18558077/fully-change-package-name-including-company-domain    

  • The “Exec” task needs a command to execute.

    Was getting the error “The “Exec” task needs a command to execute” while building a C#/C++ project in Visual Studio. Problem turned out to be a stray newline in the Post-build step (I’d removed a copy but not cleared the newline)