Search Issue Tracker
Fixed
Fixed in 1.3.X - Entities, 7000.0.0a1
Votes
0
Found in [Package]
1.2.0 - Entities
1.2.3 - Entities
1.3.0-pre.4 - Entities
7000.0.0a1
Issue ID
ECSB-1266
Regression
No
"SGICE002" DOTS error is thrown when SystemAPI.HasComponent has no Entity argument
Reproduction steps:
1. Open the “ReproProject“ project
2. Observe the Console window
Expected result: There are no errors thrown in the Console window
Actual result: “error SGICE002: This error indicates a bug in the DOTS source generators.“ error is thrown in the Console window
Reproducible with: 1.2.0, 1.2.3, 1.3.0-pre.4 (2022.3.41f1, 6000.0.14f1)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note: The error is caused by the “Assets/Scripts/CubeMovementSystem.cs“ line 26, fillingin the Entity argument in SystemAPI.HasComponent<CubeInputServerInterface>() with “playerEntity“ solves the issue.
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 1.3.X - Entities):
This is fixed in the next release of the entities package.