Search Issue Tracker
Fixed
Fixed in 1.0.16 (Patch 4)
Votes
1
Found in [Package]
1.0.8 - Entities (Launch)
1.0.11 (Patch 2)
Issue ID
ECSB-597
Regression
No
SGICE002 error is thrown when opening the project
How to reproduce:
1. Open the “IN-49894_repro“ project
2. Observe the Console
Expected result: SGICE002 error is not seen in the Console
Actual result: SGICE002 error is seen in the Console
Reproducible with: 1.0.8, 1.0.11 (2022.3.7f1)
Reproducible on: Windows 10
Error:
Assets\Scripts\Systems\Processing\CreateProductsSystem.cs(18,2): error SGICE002: This error indicates a bug in the DOTS source generators. We'd appreciate a bug report (Help -> Report a Bug...). Thanks! Error message: 'System.IndexOutOfRangeException: Index was outside the bounds of the array. |--| at System.Collections.Immutable.ImmutableArray{{1.get_Item(Int32 index) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemAPI.Query.IdiomaticCSharpForEachDescription.<TryGetQueryDatas>g__TryGetIdiomaticCSharpForEachQueryType|73_0(ITypeSymbol typeSymbol, Location errorLocation) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemAPI.Query.IdiomaticCSharpForEachDescription.TryGetQueryDatas(ICollection}}1& queryTypes) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemAPI.Query.IdiomaticCSharpForEachDescription..ctor(SystemDescription systemDescription, QueryCandidate queryCandidate, Int32 numForEachsPreviouslySeenInSystem) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemAPI.Query.IdiomaticCSharpForEachModule.RegisterChangesInSystem(SystemDescription systemDescription) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemGenerator.Execute(GeneratorExecutionContext context)'
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note (fix version 1.0.16 (Patch 4)):
Fixed in the next release of Entities after 1.0.14.