Search Issue Tracker

Fixed in 0.6.X

Votes

2

Found in [Package]

preview.10 - 0.4.0

Issue ID

1205998

Regression

No

Entities.ForEach Lambda expression causes compiler error

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the "Repro.zip" project
2. Check the console

Actual result: Error appears in the console.
Expected result: No errors appears.

Reproducible with: 2020.1.0a18 (preview.10 - 0.4.0), 2019.3.0f4 (preview.10 - 0.4.0).

Notes:
- The error:
"error DCICE001: Entities.ForEach Lambda expression uses something from its outer class. This is not supported. Seeing this error indicates a bug in the dots compiler. We'd appreciate a bug report (About->Report a Problem). Thnx! <3"
- The Entities.ForEach method is not implemented in 2019.2 and earlier.

  1. Resolution Note (fix version 0.6):

    The problem now is correctly diagnosed and shows according error message.

Comments (2)

  1. Unity-Jochen

    Feb 18, 2020 16:04

    Nevermind my last comment. The update was broken. After a Unity crash the update reimported and the issues seems to be gone.

  2. Unity-Jochen

    Feb 18, 2020 15:58

    I just updated to Entities 0.6.0 and Burst 1.2.3 but the problem is still the same. Please reopen the issue

Add comment

Log in to post comment