Search Issue Tracker

Active

Votes

0

Found in [Package]

0.50.1-preview.2

Issue ID

1411285

Regression

No

SGICE002 thrown when calling SetSingleton in a class that inherits from SystemBase

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the user's attached project "GhostVsHunter.zip"
2. Observe the Console window

Expected result: The SGICE002 error is not thrown
Actual result: The error is thrown:
"Assets/Plugins/DrboumLibrary.DOTS/Utils/TickUpdaterSystem.cs(11,5): error SGICE002: Seeing this error indicates a bug in the dots compiler. We'd appreciate a bug report (About->Report a Bug...). Thnx! <3 System.InvalidCastException: Unable to cast object of type 'Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel.TypeParameterSymbol' to type 'Microsoft.CodeAnalysis.INamedTypeSymbol'."

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

Reproducible on: macOS

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.