Docs / Editors / Unity
How to Track Time in Unity
Let's set up Unity to count how much time you spend making games!
Step 1: Make a Hackatime Account
Go to Hackatime and make an account. Then log in.
Step 2: Get Your Settings Ready
Click this link to the setup page. It will set up your account so it works with Unity.
Step 3: Add the Plugin to Unity
There are a few different Unity plugins. Here's the easiest one:
- Open Unity Hub and start a project
- Go to this GitHub page: Unity WakaTime Plugin
- Click the green Code button, then Download ZIP
- Unzip the file you downloaded
- In Unity, go to Assets → Import Package → Custom Package
- Find the unzipped folder and select the
.unitypackage
file - Click Import on everything
After installing, the plugin will use your settings from Step 2.
If Something Goes Wrong
Can't see your time? Go back to the setup page and try again.
Plugin not working? Close Unity and open it again.
Package Manager not working? Make sure you're connected to the internet.
Still having trouble? Ask for help in Hack Club Slack - look for the #hackatime-dev channel.
What Happens Next
Start making your game! Your time will show up on your Hackatime page in a few minutes.
Found an issue with this page? Edit it on GitHub - we'd love your help making the docs better!