Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Bug Com.unity.test-framework.performance Compile Errors

Discussion in 'Testing & Automation' started by redwyre, Apr 5, 2019.

  1. redwyre

    redwyre

    Joined:
    Oct 14, 2018
    Posts:
    15
    When I add the package (0.1.49-preview or 0.1.50-preview) I get a lot of errors like:
    Library\PackageCache\com.unity.test-framework.performance@0.1.50-preview\Runtime\Measure.cs(73,17): error CS0234: The type or namespace name 'ConvertSample' does not exist in the namespace 'Utils' (are you missing an assembly reference?)

    It seems the Utils.cs file isn't getting compiled somehow?
     
  2. gintautass

    gintautass

    QA Minion Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    42
    Hey,

    Which Unity version are you using?

    These are the versions it should work on:
    2019.2.0a1 - latest 1.0.6-preview
    2019.1.0a10 - 2019.2.0a1 0.1.50-preview
    2019.1.0a01 - 2019.1.0a10 0.1.42-preview
    Older versions 0.1.50-preview


    Your Project/Manifest.json might need to have modules added:
    "com.unity.modules.jsonserialize": "1.0.0"
    "com.unity.modules.unitywebrequest": "1.0.0"
     
  3. redwyre

    redwyre

    Joined:
    Oct 14, 2018
    Posts:
    15
    I was using 2018.3
    It's working after adding it to a clean project without using my asset cache server, so it might be an issue with something having gone wrong previously and being cached