Search Unity

Profiler class and UNITY_PRO_LICENSE

Discussion in 'Unity Build Automation' started by Deleted User, Mar 7, 2018.

  1. Deleted User

    Deleted User

    Guest

    I've found only one piece of code that's been breaking my Unity Cloud builds, and it's a third-party profiler package that references the Unity Profiler class, preceded by #if UNITY_PRO_LICENSE.

    I've worked around it by stubbing out that #if, so it's not a huge deal for me, but there appear to be two issues worth noting:

    1) Cloud build is defining UNITY_PRO_LICENSE even though I don't have a pro license (I have a Unity Team Advanced license).

    2) Even though cloud build appears to acting as if it has a pro license, it apparently has no access to the Profiler class. I don't know if this is an issue with other Pro-specific classes.