Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Error installing Entities package

Discussion in 'Entity Component System and C# Job system' started by rogerdv, Jan 31, 2019.

  1. rogerdv

    rogerdv

    Joined:
    Jul 16, 2012
    Posts:
    27
    Im trying to add Entities to a project, and I get this error after package is installed:

    Assembly has reference to non-existent assembly 'Unity.PerformanceTesting' (Packages/com.unity.entities/Unity.Entities.PerformanceTests/Unity.Entities.PerformanceTests.asmdef)

    I have tried installing all that I think is a required dep: Jobs, Mathematics, etc, but anyway, the error persists. How can I solve this?
     
  2. jooleanlogic

    jooleanlogic

    Joined:
    Mar 1, 2018
    Posts:
    244
    You need to install the "Performance Testing API" in the Package Manager. Make sure to show preview packages.
    Can't remember if it shows up by default or if you need to add this to your manifest first.
    "com.unity.test-framework.performance": "0.1.50-preview"
     
  3. rossb_unity

    rossb_unity

    Unity Technologies

    Joined:
    Nov 15, 2018
    Posts:
    5
    Using version 2018.3.3f1 on osx. It appears the Performance Testing API is not listed in the package manager.

    Manifest is located in the project root folder->Packages->manifest.json
    Screen Shot 2019-02-01 at 10.25.11 AM.png
     
    Last edited: Feb 1, 2019
  4. tiggus

    tiggus

    Joined:
    Sep 2, 2010
    Posts:
    1,224
    I had this issue as well and had to manually remove the references.
     
  5. rogerdv

    rogerdv

    Joined:
    Jul 16, 2012
    Posts:
    27
    For me, it appeared when I modified the manifest.
     
  6. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    430
    Getting this same error. Don't see the Performance testing package, plus the entire point of PakMan packages is that they can specify dependencies so why is this not properly listed as a dependency by the Entities package?

    Seems like a bug to me.
     
  7. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    430
    To fix this until the Entities package has the proper dependency added, add the following to your project's manifest.json:

    "com.unity.test-framework.performance": "0.1.50-preview"
     
    lunariasapphire likes this.
  8. lunariasapphire

    lunariasapphire

    Joined:
    May 27, 2018
    Posts:
    1
    Modifying the manifest.json (which is in the "Packages" folder of the project) in the way @jwvanderbeck described got it to work for me. Can't wait for this to be out of alpha so this nonsense can stop :p (No hate, Unity <3)
     
  9. llxwd008

    llxwd008

    Joined:
    Aug 7, 2015
    Posts:
    20
    I added this dependecy and it shows in the Package Manager, but this do not work for me, is there any other dependecy needed?
     
  10. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    430
    Are you still getting the same error? If so then you didn't add it properly. If the error has changed, can you post the error?
     
  11. llxwd008

    llxwd008

    Joined:
    Aug 7, 2015
    Posts:
    20
    I have fixed it. Besides "com.unity.test-framework.performance": "0.1.50-preview", I should add "com.unity.test-framework.performance" in "testables": [].