Skip to content

INetworkSerializableILPP crashes with templated NetworkBehaviours #1925

Closed
@NoelStephensUnity

Description

@NoelStephensUnity

Description

When using templated NetworkBehaviours with the current develop branch (05-03-2022), INetworkSerializableILPP throws an exception at line 119.

Reproduce Steps

  1. Open the editor using the develop branch
  2. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions