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
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
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.