Search Issue Tracker

Fixed

Fixed in 0.51.1

Votes

0

Found in [Package]

0.50.1

Issue ID

ECSB-8

Regression

No

Error CS0029 thrown when using SetComponent with an item of a DynamicBuffer and an index

Package: Entity Component System - Bugs

-

Reproduction steps:
1. Open the attached project "1237893_ErrorDOTS.zip"
2. Observe the Console window

Expected result: There are no errors
Actual result: There is an error:
"Assets/Scripts/Systems/TestSystem.cs(19,84): error CS0029: Cannot implicitly convert type 'int' to 'SomeState'"

Reproducible with: 0.17.0-preview.42, 0.50.0-preview.24, 0.50.1-preview.2 (2020.3.35f1)

Reproducible on: macOS 12.0.1 (Intel)

Add comment

Log in to post comment