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
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"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
- Tile Palette Window zoom level resets when the Window becomes inactive
- [iOS] Exported Xcode "Unity-iPhone" Xcode project shows the "Framework" folder as red
Resolution Note:
This was fixed in DOTS 1.0.X and is a duplicate of an old internal bug.