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
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
- Unity Hub opens instead of the Unity Editor when launching a project from a Windows command line if a backslash is added to the end of the project path
- "ParseErrorException" is thrown when parsing a float with a very small value from JSON
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.