Search Issue Tracker

Fixed

Fixed in 1.4.X - Entities

Votes

0

Found in [Package]

1.4.0-pre.3 - Entities

Issue ID

ECSB-1730

Regression

No

SGICE002 error thrown when using SystemAPI.GetComponent<T>() inside a .ForEach() lambda

Package: Entity Component System (ECS)

-

How to reproduce:

1. Open the project “IN-105709_SGICE002”
2. Observe the Console

Expected result: No errors are thrown in the Console
Actual result: SGICE002 error is thrown in the Console

Reproducible with: 1.0.8 (2022.3.63f1), 1.3.14 (2022.3.63f1), 1.4.0-pre.3 (2022.3.63f1, 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1)
Could not test with: 2021.3.53f1 (com.unity.entities, com.unity.collections not supported)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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

    Fixed in next package version of entities.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.