Search Issue Tracker
By Design
Votes
2
Found in
4.5.1p1
Issue ID
614055
Regression
Yes
Wrong warning shown when there is a script name mismatch
To reproduce:
1. Open attached project
2. Open scene Test. It contains a few scripts. One of them is named TestC, but in the script the class is named TesC (name mismatch)
3. Enter play mode - notice that the warning is "The referenced script on this Behaviour is missing!" and not "File and class name doesn't match"
Regression since 4.3.4f1
Explanation: If you try to add an existing MB whose class and filename don't match, you get a warning about the names not matching.
If you take an MB that has already been added to some GameObjects ("TestC") and change the class name (to "TesC"), then Unity can no longer find the MB that was referenced ("TestC")
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Package Manager Events Not Triggered When Changing Registry
- "DateTime.Now" in the UK timezone does not adjust when the British Summer Time is active
- "Unsupported source texture format (7) in ComputeNextMipLevel" error is shown and the texture atlas is corrupted when the texture format "RGB Compressed ETC2 4bits" is selected
- The label that uses data binding is no longer updated at runtime when `INotifyBindablePropertyChanged` reloads updates of the VisualTreeAsset in UIDocument
- HDRP Graphics "High Quality Line Rendering" is missing a documentation link
Add comment