Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.3.X, 2022.1.X
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
2022.2
Issue ID
1404185
Regression
No
No error if setting a property with the same name but different types
STR:
1. Create a new project using the 3D template
2. Copy the attached script to the Assets folder
3. Assign this script to the main camera
4. Press play
Expected: an error is printed saying that a property with the name "foo" already exists, but the type is different
Actual: no error is printed
This behaviour hides bugs in user code.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Prefab save times when using Unity 2022.2 and higher
- Console displays error "UnityException: Creating asset at path Assets/Scenes/ .scenetemplate failed." during scene template saving
- "Development Build" watermark is shown in non-development UWP release builds
- Console errors appear when the Inspector is set to Debug and a GameObject is selected
- A script public variable value is not used when set in the Inspector window
Add comment