-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Editor Analytics for inference #4677
Conversation
|
||
static bool EnableAnalytics() | ||
{ | ||
if (s_EventRegistered) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is adapted from the example here (internal link)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, you messaged me privately about adding code to allow for opting out of sending analytics. Please remove the FNV Hash code if you are going to use the Hash128 code path instead.
After investigating options, we won't be adding a separate opt-out for analytics; users will be able to use the existing options to opt out from all events. This will be clarified in a README soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Legal language LGTM.
Proposed change(s)
Adds analytics tracking for inference. These are only sent when running inference in the editor, do not collect any PII beyond what Unity already collects in its base events, and can be opting out of other Unity Editor analytics will disable these too.
More detailed readme with opt-out information coming soon
Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
Types of change(s)
Checklist
Other comments