Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2020.2.0a11

2020.3

2021.1

Issue ID

1322418

Regression

Yes

A pop-up with incorrect grammar is thrown when attaching a script with a different file name and script name and class name

IMGUI

-

How to reproduce:
1. Open the attached "1322418.zip" project
2. Drag the "NewBehaviourScript" on to the "GameObject" GameObject in the Hierarchy
3. Observe the pop-up that appears

Expected results: The text in the pop-up is "The script doesn't inherit a native class that can manage a script"
Actual results: The text contains a typo and it is "The script don't inherit a native class that can manage a script"

Reproducible with: 2020.2.0a11, 2020.3.2f1, 2021.1.0a5
Not reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.1.17f1, 2021.1.0a6, 2021.1.1f1, 2021.2.0a11

Note:
- Behaviour in versions 2020.2.0a1 - 2020.2.0a10 is unknown since a pop-up isn't thrown

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.