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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Resolution Note (fix version 1.3.X - Entities):
This is fixed in the next release of the entities package.