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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Sofiakaif
Jun 17, 2020 17:43
Eyelid Dermatitis Treatment Natural https://www.simpletipsofhealth.com/2020/01/eyelid-dermatitis-dreatment-natural.html?m=1
Sofiakaif
Jun 17, 2020 17:42
six easy ways to have healthier glowing beautiful skin https://www.simpletipsofhealth.com/2020/02/six-easy-ways-to-have-healthier-glowing.html?m=1
Sofiakaif
Jun 17, 2020 17:41
lemon lemon and empty stomach https://www.simpletipsofhealth.com/2020/01/lemon-lemon-and-empty-stomach.html?m=1
Sofiakaif
Jun 17, 2020 17:40
Simple Ways to Make Your Hair Grow Faster https://www.simpletipsofhealth.com/2020/01/simple-ways-to-make-your-hair-grow.html?m=1
Sofiakaif
Jun 17, 2020 17:00
Healthy food: List of Healthy food https://www.simpletipsofhealth.com/2020/06/list-of-healthy-foods.html?m=1
Sofiakaif
Jun 17, 2020 17:00
Weight loss: Tips and Tricks https://www.simpletipsofhealth.com/2020/06/weight-loss-tips-and-tricks.html?m=1
Sofiakaif
Jun 17, 2020 16:59
How to Remove Fiberglass From Skin https://www.simpletipsofhealth.com/2020/02/how-to-remove-fiberglass-from-skin.html?m=1
Sofiakaif
Jun 17, 2020 16:59
Amazing Uses Of Almond Oil https://www.simpletipsofhealth.com/2020/05/amazing-uses-of-almond-oil.html?m=1
Sofiakaif
Jun 17, 2020 16:58
Visit How is guava leaf tea helpful in treating 10 diseases? https://www.simpletipsofhealth.com/2020/05/guava-leaf-tea.html?m=1
Sofiakaif
Jun 17, 2020 16:57
Plz visit
https://www.simpletipsofhealth.com/2020/02/elemis-rose-facial-oil.html?m=1