Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.3.10f1
Issue ID
1251569
Regression
No
ScriptUpdater crashes when alias for the same name is set multiple times in same source
In the case a source needs to be ApiUpdated and it set C# alieases for the same name multiple times an exceptions is thrown in ScriptUpdater.
As a workaround user can use different alias names.
For instance (assuming there's a class named Bar in namespace Foo):
namespace NIQ
{
using F = Foo.Bar;
class C : F { }
}
namespace Other
{
using F = System.Console; // Crash here
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Add comment