Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X



Found in


Issue ID




ApiUpdater may leave orphan usings when only type qualified references were present in the source



In some scenarios after ApiUpdater runs old, non existing namespaces may be left in using clauses.

This may happen if Unity changes a type to a namespace that already exists and is already imported in the script.

For instance, consider the following:

// In UnityEngine.dll
namespace UnityEngine.Foo
class Bar {}

class Baz {} // Originally in UnityEngine.Other

// in user code
using UnityEngine.Foo;
using UnityEngine.Other;

class C : UnityEngine.Other.Baz

When ApiUpdater finishes updating user code it will looks something like:

// in user code
using UnityEngine.Foo;
using UnityEngine.Other; // Should have been removed

class C : Baz

Comments (63)

  1. DigitalFusion24

    Jan 26, 2024 16:43

    With the relentless progression of technology, the demand for innovative mobile applications is increasing. In the competitive realm of mobile app development companies, Digital Fusion sets itself apart as a beacon of creativity and outstanding quality.

  2. Rolaif

    Dec 06, 2023 05:24

  3. gofegi2194

    Nov 12, 2023 18:11

    The integration of smart technology into body mass machines further amplifies their utility. These devices often sync seamlessly with mobile applications, allowing users to monitor their progress conveniently. Real-time data accessibility enables individuals to make timely adjustments to their fitness regimens, ensuring that their health goals remain within reach. The gamification aspect, where users can set and achieve targets, adds an element of motivation to the fitness journey, transforming the process of self-improvement into an engaging and rewarding

  4. alpha12m

    May 11, 2023 02:19

  5. alpha12m

    May 11, 2023 02:11

  6. chaudhary22amir

    Mar 03, 2023 18:58

    Sinuano Noche is a Spanish lottery that has a staggering 1 in 5,000,000 chance of winning. In essence, it is a question of guessing which number will come out of 6. The jackpot is 50 million euros and amounts to around 67 million US dollars. Visit for more information:

  7. Loginvki

    Nov 01, 2022 08:14

    Loginvki delivers content written for Users who's faceing Issues in login Portal like Government Portal Login, Company Login, Student Login, Gaming Login, etc,..

  8. mrmonkeybhw

    Jul 16, 2022 09:19

  9. jazz_james

    Jul 08, 2022 14:40

  10. BuyIce420Snow

    Apr 11, 2022 00:39

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.