Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.1
Issue ID
1213506
Regression
No
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
{
}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Sofiakaif
Jul 07, 2020 10:27
Body language: Hands on hips pose https://www.simpletipsofhealth.com/2020/06/hands-on-hips-pose.html?m=1
Sofiakaif
Jul 07, 2020 10:26
https://www.simpletipsofhealth.com/2020/02/beauty-tips-for-face.html?m=1
Sofiakaif
Jul 07, 2020 10:26
https://www.simpletipsofhealth.com/2020/06/headache-causes-types-and-remedies.html?m=1
Sofiakaif
Jul 07, 2020 10:24
https://www.simpletipsofhealth.com/2020/07/underarm-whitening-cream.html?m=1
jabohus
Jun 29, 2020 22:03
<a href="https://greenleafready.info" rel=”dofollow”>Marijuana leaf</a> comes from the <a href="https://greenleafready.info" rel=”dofollow”>dried flowering</a> tops, leaves, stems, and <a href="https://greenleafready.info" rel=”dofollow”>seeds</a> of the <a href=”https://greenleafready.info” rel=”dofollow”>Cannabis sativa</a> (hemp) plant.
Humans have used <a href="https://greenleafready.info" rel=”dofollow”>marijuana leaf</a> for hundreds of years for fiber (hemp), seed oils, seed, medical treatment, and recreationally.
There is some evidence that marijuana or some of its components — such as <a href="https://greenleafready.info" rel=”dofollow”>CBD</a> — may be useful for relieving severe pain, <a href="https://greenleafready.info" rel=”dofollow”> inflammation</a>, nausea, and chronic conditions.
Sofiakaif
Jun 29, 2020 10:14
https://www.simpletipsofhealth.com/2020/06/neostrata-.html?m=1
Sofiakaif
Jun 29, 2020 10:13
https://www.simpletipsofhealth.com/2020/06/skin-regimen-night-detox.html?m=1
Sofiakaif
Jun 29, 2020 10:12
https://www.simpletipsofhealth.com/2020/06/best-summer-health-tips-idea-summer-tips.html?m=1
Sofiakaif
Jun 19, 2020 04:10
https://www.simpletipsofhealth.com/2019/11/do-not-make-this-mistake-after-eating.html?m=1
Sofiakaif
Jun 17, 2020 17:44
Numbness in hands https://www.simpletipsofhealth.com/2020/01/numbness-in-hands.html?m=1