DevTrail
  • ⚡DevTrails
  • 🪐User Statistics
  • Disclaimers
  • How to share project stats in git repository
Powered by GitBook
On this page
  • Privacy
  • Accuracy

Disclaimers

This is for the user statistics feature only

PreviousUser StatisticsNextHow to share project stats in git repository

Last updated 10 days ago

Privacy

Privacy on a shared repository was the primary concern when building this asset. I never want developers to see each other's editor time or others' data without explicit permission.

So, data is saved locally outside the typical version-controlled folders.

Most stats are saved in the My Documents folder on your computer.

The project's stats are saved in the "UserSettings" folder, which is by default in the git ignore file. If you wish to include that, track the "UserStats_project.asset" file in that folder.

Accuracy

The statistics aren't saved using any method to deter manual modification. So, please do not use the Time Spent in Unity timer to bill freelancers. Also, note that some counters aren't completely accurate. For example, Logs created before the project is completely initialized are not included.

Counters update every few minutes while the window is open to keep performance smooth.

To avoid impacting editor performance, certain stats like time tracking are saved only when Unity shuts down. This does mean that if Unity crashes, some data (like time) might not be saved.

If you have multiple projects with this asset open, some data, like time, will combine only after the project is closed. Suppose two projects are both opened at the same time for an hour. It will combine and say 2 hours.

The asset doesn't track how long you use your code editor.

🪐User Statistics