Search Issue Tracker

Fixed in 0.51.0-preview.32

Votes

2

Found in [Package]

0.11.1-preview.4

Issue ID

1258545

Regression

No

[ECS] 'DCICE002' error thrown when multiple ForEach use outside variables and there is Component/Entity manipulation

Package: Entity Component System (ECS)

-

To reproduce:
1. Open attached project ("case_1258545.zip")
2. Observe the Console window

Expected result: No errors are thrown
Actual result: "error DCICE002: Unable to find LdFtn & NewObj pair preceding call instruction in OnUpdate" error is thrown

Reproducible in: 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Could not test in: 2018.4.24f1 (Due to different errors)

Reproducible in package versions: 0.6.0-preview.24, 0.11.1-preview.4
Could not test in package versions: 0.0.12-preview.2, 0.5.1-preview.11 (Due to different errors)

Notes:
1. The issue is reproducible both with and without Burst.
2. Full error message:
error DCICE002: Unable to find LdFtn & NewObj pair preceding call instruction in OnUpdate Seeing this error indicates a bug in the dots compiler. We'd appreciate a bug report (About->Report a Bug...). Thnx! <3

  1. Resolution Note (fix version 0.51.0-preview.32):

    Fixed in: 0.51.0-preview.32 (2020.3.37f1)

Comments (1)

  1. shmafoozius

    Jul 17, 2020 21:29

    This happens a lot to me in different cases when using Job.WithCode, e.g:
    * trying comparisons like i < value
    * trying to Enqueue a value to a NativeQueue

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.