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
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
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.