Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2021.3.47f1
2022.3.56f1
6000.0.35f1
6000.1.0b3
6000.2.0a1
Issue ID
UUM-93284
Regression
No
A script cannot be attached to a GameObject when there is another script that is generic with the same name in a different folder
Steps to reproduce:
1. Open the attached “ClassNameBug.zip” project
2. Open the “SampleScene”
3. In the “Assets/0param” folder find “MyScript.cs”
4. Attach the script to a GameObject within the Project Hierarchy
5. Observe the results
Expected result: The “MyScript.cs” file is added as a Component
Actual result: An error message is shown
Reproducible in: 2021.3.47f1, 2022.3.56f1, 6000.0.35f1, 6000.1.0b3
Reproducible on: Windows 11, Windows 10
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Add comment