Search Unity

UCB Fails - TextMeshPro Package Error

Discussion in 'Unity Build Automation' started by MAWMatt, Aug 22, 2019.

  1. MAWMatt

    MAWMatt

    Joined:
    Nov 10, 2016
    Posts:
    77
    Hey folks,

    So I recently upgraded from 2017 (using the old TMP external libraries) to 2018 (now using Unity's built-in version). As soon as I upgraded, I got errors with TestRunner. A quick search online suggested deleting the Test folder in the TextMeshPro package directory, which worked like a charm.

    My problem now is that UCB can't delete that folder, and is having issues related to the UnityEngine.TestRunner assembly.

    The error specifically is: "
    Assembly has reference to non-existent assembly 'UnityEngine.TestRunner' (Packages/com.unity.mobile.notifications/Tests/Editor/Unity.Notifications.Tests.asmdef)
    "

    EDIT: I notice the error refers to the Unity.Notifications test folder, which also required deletion in the same exact way as the TextMeshPro. It's the same error now with 2 packages.

    How can I fix this issue? I build fine locally (having removed that Test folder in the TMP package cache).

    Thanks!
    -Matt
     
    Last edited: Aug 22, 2019