Search Issue Tracker

Active

Votes

0

Found in

2020.1

2020.1.10f1

2021.1

Issue ID

1287367

Regression

No

Setting Monobehaviour reference from SystemBase throws error when additional buffer not set

Package

-

Reproduction steps:
1. Open attached Project "Reproduce_ECS_Bug"
2. Open "Assets/ReproduceBugFiles/TestScene"
3. Open "Assets/ReproduceBugFiles/TestSystem" and comment out the 31st 32nd and 33rd lines
4. Press Play

Expected result: No errors are thrown
Actual result: "InvalidProgramException: Invalid IL code" is thrown every frame

Reproducible with: 0.13.0-preview.24 (2020.1.14f1), 0.14.0-preview.19 (2020.2.0b12), 0.16.0-preview.21 (2021.1.0a6)
Could not test with: 2018.4, 2019.4 (Compiler errors)

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.