Search Unity

Test Runner Not Compiling

Discussion in 'Package Manager' started by ReynV, Jan 16, 2020.

  1. ReynV

    ReynV

    Joined:
    Sep 24, 2014
    Posts:
    50
    Hi,
    I've been trying to get my project to open on a colleague's mac for the last week.
    The project opens fine on my mac and pc.

    Here is the full editor log: https://pastebin.pl/view/57230b2a
    I believe the relevant part is:

    -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.TestRunner.dll
    Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
    Copyright (C) Microsoft Corporation. All rights reserved.

    error CS2001: Source file '/Werk2019/Game stuff/Github/Bubble/Library/PackageCache/com.unity.test-framework@1.1.1/UnityEngine.TestRunner/AssemblyInfo.cs' could not be found.
    error CS2001: Source file '/Werk2019/Game stuff/Github/Bubble/Library/PackageCache/com.unity.test-framework@1.1.1/UnityEngine.TestRunner/NUnitExtensions/Commands/EnumerableApplyChangesToContextCommand.cs' could not be found.

    ... etc

    The files that "could not be found" are all there.

    We've tried updating the Test Runner Package. to 1.1.9
    We've tried deleting his manifest and restarting
    We've tried deleting the library directory and restarting
    We've tried tried copying my entire project directory with its library directory

    We have the exact same version of Unity installed.

    Same issues.

    Please help !
    Thanks
     
  2. AskCarol

    AskCarol

    Joined:
    Nov 12, 2019
    Posts:
    234
    Sorry you're experiencing issues! Can you include the project's manifest.json?
    Thanks!
     
  3. ReynV

    ReynV

    Joined:
    Sep 24, 2014
    Posts:
    50
    Hi,
    We eventually solved the issue by moving the directory to a different location. I don't know if the issue was a path length problem or some sort of permission problem, but it got resolved.
    Thanks