Search Issue Tracker
Fixed
Fixed in 6000.4.4f1, 6000.5.0b4, 6000.6.0a3
Votes
0
Found in
6000.0.65f1
6000.3.4f1
6000.4.0b4
6000.5.0a4
6000.6.0a3
Issue ID
UUM-132674
Regression
No
Error SGICE002 is wrongly shown when the tuple elements in a foreach statement don’t match the order of the tuple returned by SystemAPI.Query
How to reproduce:
1. Open the attached project "IN-128942"
2. Observe the console
Actual result: Error SGICE002 is shown in the Console
Expected result: Error SGICE002 is not shown in the Console
Reproducible with: 1.2.0 (6000.0.0b11), 1.4.4 (6000.0.65f1, 6000.3.4f1), 6000.4.0b4, 6000.5.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Issue appears because of elements being in wrong order in the foreach statement on line 16 of the “TestProductionSystem” script. The correct order of elements is “(DynamicBuffer<StockpileEntry> stockpile, Entity entity)“ instead of “(Entity entity, DynamicBuffer<StockpileEntry> stockpile)“
- Correct CS0029 errors are also shown
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
- Invalid Blue value in MotionBlurMergeTilePass when objects move at certain speeds
- Physics Debugger displays mouse cursor ray casts when Game view is not open if Input System package is used
- “ArgumentException” error thrown when disabling all columns in Project Auditor's Multi-column panel context menu
- Errors are thrown and contextual menu does not open when right-clicking multiple mixed keyframes in Dopesheet
- Crash on MergeObjectCollection when repeatedly selecting a Prefab Asset in the Project Browser
Resolution Note:
Fixed in 6000.6.0a3
Resolution Note (fix version 6000.6.0a3):
Fixed in 6000.6.0a3
Resolution Note (fix version 6000.4.4f1):
Fixed in 6000.4.4f1