Closed
Description
Describe the bug
If ClassA derives from NetworkBehaviour, and then another class derives from ClassA, an exception is thrown during the compilation process:
(0,0): error System.InvalidOperationException: Sequence contains no matching element
To Reproduce
Steps to reproduce the behavior:
- Open Unity (any version supported by NGO) and install NGO
- Create a class called ClassA that derives from NetworkBehaviour
- Create a second class that derives from ClassA
- See error
Actual outcome
An exception is thrown during compilation
Expected outcome
Compilation succeeds in this scenario
Environment (please complete the following information):
- OS: Win10
- Unity Version: 2020.3
- MLAPI Commit: 89a92fb
Additional context
Repro project included
getTypeName_ILPP_repro.zip