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

Package: Entity Component System (ECS)

-

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.

  1. Resolution Note (fix version 1.3.X - Entities):

    This is fixed in the next release of the entities package.

Add comment

Log in to post comment