Search Unity

Unity.Entitlements.Audit.log

Discussion in 'Editor & General Support' started by Deleted User, Sep 7, 2019.

  1. Deleted User

    Deleted User

    Guest

    @AbrahamDUnity @Charles_Beauchemin I'm tagging both of you because I have no idea who in Unity Technologies could be concerned by this.

    I was exploring my file system like I do once in a while and I found this "Unity.Entitlements.Audit.log". It's dated 01.09.2019 and contains 149 lines with different dates. I found it at the root of the drive where Unity and Unity Hub are installed, in my case "H:\". The most recent lines read:
    Code (CSharp):
    1. 2019-09-01 16:09:55.354 - INFO  - Unity.Licensing.Client.Audit.LoggerAuditService || Entitlement requested: Entitlement Context: [607ead1e-ea46-4b77-a30e-87bca3e4539a], User Agent: [UnityEditor/2019.3.0b1 (Windows; U; Windows NT 6.1; fr)], Protocol version: [1.0], Session Id: [9173c318-b6d8-4785-a5ac-f91be259acd5], Entitlement requested: [com.unity.editor.disable-splash-screen], Result: [granted: False, group: ]
    2. 2019-09-01 16:09:55.354 - INFO  - Unity.Licensing.Client.Audit.LoggerAuditService || Entitlement requested: Entitlement Context: [607ead1e-ea46-4b77-a30e-87bca3e4539a], User Agent: [UnityEditor/2019.3.0b1 (Windows; U; Windows NT 6.1; fr)], Protocol version: [1.0], Session Id: [9173c318-b6d8-4785-a5ac-f91be259acd5], Entitlement requested: [com.unity.editor.watermarks.trial], Result: [granted: False, group: ]
    I'm going to delete it and see if it comes back. :)
     
  2. Deleted User

    Deleted User

    Guest

    The log is back after I closed Unity Hub.
     
  3. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    380
    What is this audit file?
     
  4. AbrahamDUnity

    AbrahamDUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    431
    Hi @APSchmidt,

    I'll investigate on my end and get back to you.
     
    Deleted User likes this.
  5. Deleted User

    Deleted User

    Guest

    Thanks!
     
  6. Deleted User

    Deleted User

    Guest

    It's not Unity Hub related. I just did another test:
    1. I deleted "Unity.Entitlements.Audit.log",
    2. I started Unity Hub (it was completely closed),
    3. I quit Unity Hub by just closing the window, the log didn't reappear,
    4. I quit Unity Hub completely from the tray, the log didn't reapper either,
    5. I restarted the Hub and launched a project I'm working on with 2019.3.0b2 and the log reappeared immediately,
    6. I closed the project, deleted the log and launched a project I'm working on with 2019.2.4f1 and the log didn't reappear.
    This issue is for @Charles_Beauchemin then. ;)
     
  7. AbrahamDUnity

    AbrahamDUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    431
    So I spoke to the Licensing team about this and apparently it shouldn't show up at your drive's root. They'll investigate further and it should be fixed in the future. Thanks again for your diligence!

    Best,
     
    Deleted User likes this.
  8. Deleted User

    Deleted User

    Guest

    It's still there, appeared after I started 2020.1.0a7. It's been inherited from the 2019.3 beta versions.
     
    Last edited by a moderator: Oct 9, 2019
  9. AbrahamDUnity

    AbrahamDUnity

    Unity Technologies

    Joined:
    Jun 28, 2017
    Posts:
    431
    Yeah, I'm not sure what's their timeline for that fix. I'll keep you posted.
     
    Deleted User likes this.
  10. Deleted User

    Deleted User

    Guest

    It's still there with 2020.1.0a9. :)
     
    AbrahamDUnity likes this.
  11. Amir_AZNK

    Amir_AZNK

    Unity Technologies

    Joined:
    Jul 9, 2019
    Posts:
    15
    Hi
    This issue has been fixed but fix is still not released on any Unity version yet.

    Regards
    Amir
     
    Deleted User likes this.
  12. SoulTheArtist

    SoulTheArtist

    Joined:
    Aug 11, 2019
    Posts:
    5
    Just saw this document and did a search, which led me here. It's on my storage drive.
    What exactly is this doc for?
     
  13. Deleted User

    Deleted User

    Guest

    It's apparently used by alpha and beta versions of Unity to check your licence at start. It shouldn't be visible.
     
  14. SoulTheArtist

    SoulTheArtist

    Joined:
    Aug 11, 2019
    Posts:
    5
    Got it. Thank you APSchmidt.
     
  15. Deleted User

    Deleted User

    Guest

    Hi and my belated thank yous for the info. :)

    I just noticed that I also have a "unity-entitlement-audit.log" file in "C:\Users\Username\AppData\Local\Unity". You'll notice the slight difference between the names of the two files.

    The last entry in "unity-entitlement-audit.log" is dated 2019-08-26 16:43:06.274j, here it is:
    Code (CSharp):
    1. 2019-08-26 16:43:06.274 - INFO  - Unity.Licensing.Client.Audit.LoggerAuditService || Entitlement requested: Entitlement Context: [2404f4ba-29a4-453a-a7af-3e51b33389dd], User Agent: [UnityEditor/2019.3.0a12 (Windows; U; Windows NT 6.1; fr)], Protocol version: [1.0], Session Id: [db7627a8-ee98-4b8e-9826-9eeb20bdd59c], Entitlement requested: [com.unity.editor.watermarks.trial], Result: [granted: False, group: ]
     
  16. Deleted User

    Deleted User

    Guest

    Still there on starting 2020.1.0a11.
     
  17. BasilUnity

    BasilUnity

    Unity Technologies

    Joined:
    Mar 28, 2018
    Posts:
    93
    Hello APSchmidt,

    Thank you for reporting the issue and keeping an eye on the fixes. As this is an interesting edge case, we appreciate this very much!

    The 'unity-entitlement-audit.log' is a file generated by an older release of the licensing code (version 1.2.2 to be exact). The newest version of Licensing (1.3.0) merged into trunk (2020.1) on October 31st should have the fix to your issue. The normal location for the licensing audits file on Windows is %LOCALAPPDATA%\Unity\Unity.Entitlements.Audit.log (as you can see, we have changed the file name to match the other logs in this location).

    Once again, thank you for your help!
     
    Matin- likes this.
  18. Deleted User

    Deleted User

    Guest

    Thank you for your arswer. When will it be fixed then? The next Alpha version?

    Right now, there is no Unity.Entitlements.Audit.log there (I had deleted the old one).
     
  19. BasilUnity

    BasilUnity

    Unity Technologies

    Joined:
    Mar 28, 2018
    Posts:
    93
    Hi APSchmidt!

    The next Unity alpha should have the fix, if it includes the licensing 1.3.0 release. The code is already committed so it's just a matter of time.

    The Unity.Entitlements.Audit.log is part of licensing logs and will be recreated every time Unity Editor is launched. Ideally it should be in %LOCALAPPDATA%\Unity rather than your disk drive's root directory, however. :)
     
  20. Deleted User

    Deleted User

    Guest

    I just tested 2019.3.0b9 and it appears that that file is nowhere to be found after creating a project with that version, neither in my disk drive's root directory nor in "C:\Users\Username\AppData\Local\Unity".

    No Unity.Entitlements.Audit.log nowhere either after starting a project with 2019.2.11f1.

    Why would 2020.1 need it when other versions of Unity don't?
     
  21. Deleted User

    Deleted User

    Guest

    Okay, this is weird. After testing 2019.3 for which I had deleted the Unity.Entitlements.Audit.log, I started two projects created with 2020.1.0a11 and the file wasn't recreated neither at the root of my disk nor in C.

    I'm positive that I had deleted the file before starting 2020.1.0a11 because I wanted to make sure that it would come back, or not, before reporting here.

    It seems that testing 2013.3 beta fixed the problem... but how could it be?
     
  22. Matin-

    Matin-

    Unity Technologies

    Joined:
    Aug 16, 2019
    Posts:
    11
    The fix is also being backported in 2019.3
    As Basil mentioned, it is just a matter of time. It will be in 2019.3 and 2020.1.
     
  23. Deleted User

    Deleted User

    Guest

    It seems to be fixed in 2020.1.0a12. I cannot tell if it's also fixed in the 2019.3 beta versions because I'm not testing them.

    Thanks for the good work! :)
     
  24. Deleted User

    Deleted User

    Guest

    I just found one at the root of C:\. I suspect it was put there by 2020.1.0a12. I found the one created by 2020.1.0a13 at its normal place: "C:\Users\Username\AppData\Local\Unity".