Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.0.0

Issue ID

ECSB-308

Regression

No

SGICE002 error is thrown when prefixing "SystemAPI" with "Unity.Entities" namespace

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached "IN-40299.zip" project
2. Observe the Console

Expected result: No errors are thrown
Actual result: SGICE002 error is thrown

Reproducible with: 1.0.0-pre.65 (2022.2.19f1, 2023.1.0b16, 2023.2.0a14)
Could not test with: 2020.3.48f1, 2021.3.25f1, 0.17.0-preview.42 (2022.2.19f1, 2023.1.0b16, 2023.2.0a14) (due to compilation errors)

Reproducible on: Windows 10

Notes:
- Full error is in the internal notes
- The error shows the wrong file which causes the problem in version 1.0.0-pre.65 (it shows "TestBehavior.cs" instead of "TestSystem.cs")

Workaround:
1. Open the "Assets/Scripts/TestSystem.cs" script
2. Delete the "Unity.Entities" prefix next to "SystemAPI" in line 13

  1. Resolution Note:

    Decided not to merge my bug fix PR (https://github.cds.internal.unity3d.com/unity/dots/pull/10909) into `dots-1.0/staging`, since that branch is closed except for merging critical blockers (see Jonathan Mankin's clarification on Slack: https://unity.slack.com/archives/C0263NX8RLP/p1697727242996169?thread_ts=1697708281.800299&cid=C0263NX8RLP).

    The bug is not reproducible in Entities 1.1.

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.