Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

0.50.0

Issue ID

ECSB-18

Regression

Yes

CS0628 is thrown when a class deriving from SystemBase is sealed

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached project "Case_1414626.zip"
2. Observe the Console

Expected result: No warnings are thrown in the Console
Actual result: Generated code throws the CS0628 warning in the Console (See notes for full warning)

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

Notes:
- Full warning: "Temp/GeneratedCode/Assembly-CSharp/NewSystem__System_22485888.g.cs(13,20): warning CS0628: 'NewSystem.__OnUpdate_3AB89116()': new protected member declared in sealed type"

  1. Resolution Note:

    This was fixed in DOTS 1.0.X and is a duplicate of an old internal bug.

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.