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
shanewarner123
Jul 09, 2020 10:13
The post is written in very a good manner and it contains many useful information for me thnku soo mchh..
<a href="https://bettersafenow.com/">whole sale mask</a>
sophiehahalala
Jul 08, 2020 02:52
Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. Please visit our site https://www.titovid.com/
Sofiakaif
Jul 07, 2020 10:38
https://www.simpletipsofhealth.com/2019/11/do-not-make-this-mistake-after-eating.html?m=1
Sofiakaif
Jul 07, 2020 10:31
https://www.simpletipsofhealth.com/2020/06/skincare-routine.html?m=1
Sofiakaif
Jul 07, 2020 10:30
https://www.simpletipsofhealth.com/2019/11/do-not-make-this-mistake-after-eating.html?m=1
Sofiakaif
Jul 07, 2020 10:29
Best summer health tips idea| Summer tips | https://www.simpletipsofhealth.com/2020/06/best-summer-health-tips-idea-summer-tips.html?m=1
Sofiakaif
Jul 07, 2020 10:29
https://www.simpletipsofhealth.com/2020/06/best-summer-health-tips-idea-summer-tips.html?m=1
Sofiakaif
Jul 07, 2020 10:28
https://www.simpletipsofhealth.com/2020/06/neostrata-.html?m=1
Sofiakaif
Jul 07, 2020 10:28
https://www.simpletipsofhealth.com/2020/05/sephora-skin-care.html?m=1
Sofiakaif
Jul 07, 2020 10:27
skin regimen night detox https://www.simpletipsofhealth.com/2020/06/skin-regimen-night-detox.html?m=1