Search Unity

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:
    29
    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?
     
    BAIZOR likes this.
  2. gintautass

    gintautass

    QA Minion Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    46
    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:
    29
    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
     
  4. BAIZOR

    BAIZOR

    Joined:
    Jul 4, 2013
    Posts:
    112
    It is still reproduced on 2019.1.14
     
  5. BAIZOR

    BAIZOR

    Joined:
    Jul 4, 2013
    Posts:
    112
    It's a huge problem for CI, because builds can't compile from console automatically.
    Reproduces even after "Library" removing
     
    Last edited: Feb 17, 2020
  6. BAIZOR

    BAIZOR

    Joined:
    Jul 4, 2013
    Posts:
    112
    'TestRunnerResult' is inaccessible due to its protection level
    upload_2020-2-17_21-46-45.png
     
  7. nordicelectronics

    nordicelectronics

    Joined:
    Oct 4, 2014
    Posts:
    10
    Any response to this error?