Search Issue Tracker
Fixed
Fixed in 1.3.X - Entities, 7000.0.0a1
Votes
0
Found in [Package]
1.0.16 (Patch 4)
1.2.0-exp.3 - Entities
1.3.X - Entities
7000.0.0a1
Issue ID
ECSB-777
Regression
No
"WithoutBurst" and "WithBurst" methods throw "SGICE002" error
How to reproduce:
1. Open the “EntitiesSetWithoutBurstIssue” project
2. Open and observe the “RunWithoutBurst” script
3. Close the script and observe the Console
Expected result: No error is thrown
Actual result: The “SGICE002" error is thrown
Reproduced on: 1.0.16, 1.2.0-exp.3 (2022.3.14f1)
Reproduced with: Windows 10 (by reporter), Windows 11
Not reproduced with: No other environment tested
Note: If no error is thrown reimport the script by right-clicking on the “RunWithoutBurst.cs” Asset in the Project window and select “Reimport”
Full error thrown to the Console:
{noformat}Assets\RunWithoutBurst.cs(8,1): 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.InvalidOperationException: No Ancestor T found. |--| at Unity.Entities.SourceGen.Common.SyntaxExtensions.AncestorOfKind[T](SyntaxNode node) |--| at Unity.Entities.SourceGen.LambdaJobs.LambdaJobsModule.RegisterChangesInSystem(SystemDescription systemDescription) |--| at Unity.Entities.SourceGen.SystemGenerator.SystemGenerator.Execute(GeneratorExecutionContext context)'{noformat}
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 7000.0.0a1):
This port is technically no longer needed. Closing as it was fixed elsewhere.
Resolution Note (fix version 1.3.X - Entities):
This should be addressed in the next 1.3.X release.