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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Resolution Note:
This was fixed in DOTS 1.0.X and is a duplicate of an old internal bug.