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?"
Comments (2)
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
- Internal Package Manager window lines becomes duplicated or splits into two when window is docked
- Particle System curve editor does not remove or delete a curve when clicking the "Remove" button
- Some deprecated packages are seen in "Unity Registry"
- [Material]The emission of the materials used in scenes does not carried over correctly after upgrade project to 6000.0.44f1
- Crash on StackWalker::GetCurrentCallstack when opening a project
agecalculator
Jul 01, 2024 09:56
Thanks for this information.
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.