Search Issue Tracker

By Design

Votes

3

Found in [Package]

0.17.0-preview.41

Issue ID

1311695

Regression

Yes

[ECS] GetOrCreateSystem ArgumentException with ISystemBase

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open attached project "EntitiesSystem.zip" and scene "SampleScene"
2. Enter Play Mode
3. Observe Console window

Expected result: no error
Actual result: "ArgumentException: 'Unity.Entities.BurstCompatibleSystem' cannot be constructed as it does not inherit from ComponentSystemBase <...>" error

Reproducible with: 0.17.0-preview.41 (2020.2.3f1, 2021.1.0b5, 2021.2.0a4)
Not reproducible with: 0.11.2-preview.1 (2019.4.20f1), 0.16.0-preview.21 (2020.2.3f1)
Could not test with: 2018.4.31f1 (compilation errors)

  1. Resolution Note:

    Workaround proposed. Will tackle API improvement to make it less likely to encounter this problem in a different issue.

Comments (3)

  1. AdamBebko

    Apr 27, 2021 16:48

    Yes I started getting this too. Hard to tell where it's coming from and what is causing it.

  2. anihilnine

    Apr 19, 2021 02:03

    Did you guys manage to fix this? Started running into the issue now.

  3. bobbaluba

    Mar 16, 2021 09:40

    Seeing this on 2020.3.0

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.