'Could not write license loader html' error?

I’ve just downloaded Unity 5 and I’m getting this error after seeing the splash screen. I’ve tried reinstalling, running as administrator, and restarting, all to no avail.

I found a solution to this nagging problem.
On the Mac, follow these few steps:

  1. Locate the Unity folder in Finder (it is probably under Applications)
  2. In the Unity folder find the ‘Unity’ application
  3. Right-click and choose “Show Package Contents”
  4. Now open Terminal (if you are unfamiliar with Terminal you can use Spotlight to open it; type “Term” at the magnifying glass in the corner of your screen)
  5. Open the Contents folder and then open the ‘Mac OS’ folder
  6. In Terminal type these four letters as a single word, followed by a space sudo
  7. Now drag the ‘Unity’ file there down and drop it on the command line
  8. Hit enter
  9. You will need to provide your Mac login password

You will be prompted with the License screen.

Please report here if this works for you so we can make this a GO TO resource for others in the future who struggle also and find this relic of a post.

It’s worth to check if /tmp alias wasn’t removed during installation (happened to me).
Use Terminal (iTerm or whatever you like), run

ls -la / | grep tmp

If /tmp alias isn’t there you will need to recreate it and all should be fine.
You can try to use Disk Utility and repair permissions, or just plain old

sudo ln -s /private/tmp /tmp

Good luck