Closed
Description
Description
When using templated NetworkBehaviours with the current develop branch (05-03-2022), INetworkSerializableILPP throws an exception at line 119.
Reproduce Steps
- Open the editor using the develop branch
- Add the attached files to the default scripts folder
NetworkAddressableBase.zip
Actual Outcome
INetworkSerializableILPP crashes around line 119:
var baseType = fieldType.Resolve().BaseType;
(where fieldType.Resolve() returns null)
Expected Outcome
It should not crash with templated NetworkBehaviours.
Reproduction rate: (if applicable)
100%
Environment
- OS: Windows 10
- Unity Version: [e.g. 2020.3]
- Netcode Version: 2021.2.10f1
- Netcode Commit: Develop Branch