Search Issue Tracker
By Design
Votes
0
Found in
5.3.5f1
Issue ID
795596
Regression
No
'Assignment made to the same variable' warning only happening when the variable isn't in an array
'Assignment made to the same variable' warning only happening when the variable isn't in an array
To reproduce:
1. Open attached project
2. Open the script "TheScriptToEndAllBugs.cs"
3. Notice that even though lines 9 and 12 both assign to itself (a[5] = a[5] and a2 = a2, respectively), only line 12 gives the warning "Assignment made to same variable; did you mean to assign something else?"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
archie65
May 08, 2020 09:25
Institutes are busy to ensure that items from people with dementia are given an individual fair. I did mention https://www.edugeeksclub.com/ to her. Universities already know that there is more work to be done to make admission processes more transparent for applicants. Understanding how to get resources from people with disabilities is needed to be a part of this project.