Unity Issue Tracker - "SGICE002" DOTS error is thrown when SystemAPI.HasComponent has no Entity argument
Fixed
ECSB-1266
"SGICE002" DOTS error is thrown when SystemAPI.HasComponent has no Entity argument
Package: Entity Component System (ECS)
Fixed
1.3.X
Won't Fix
1.2.X
This is fixed in the next release of the entities package.
This will be fixed in 1.3.X +
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 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.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?