Skip to content

Conversation

becksebenius-unity
Copy link
Contributor

the original implementation assumed that a network behaviour's immediate ancestor was NetworkBehaviour. depending on ILPP processing order, a derived class may fail to compile because it cannot find the base class method that is used as a template for the override.

github issue: #1078

Copy link
Contributor

@0xFA11 0xFA11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a minor change is needed and we're good to go here :)

@becksebenius-unity becksebenius-unity enabled auto-merge (squash) August 23, 2021 22:26
Copy link
Contributor

@0xFA11 0xFA11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@becksebenius-unity becksebenius-unity merged commit 94a4bf6 into develop Aug 23, 2021
@becksebenius-unity becksebenius-unity deleted the fix/1078-deep-inheritance-causing-compilation-exception branch August 23, 2021 22:40
0xFA11 referenced this pull request Aug 23, 2021
* feat: expose the name of the network behaviour without runtime alloc

* Added test to verify that the name is exposed correctly

* removed unnecessary using

* code review feedback

* fixed bad comment
SamuelBellomo added a commit that referenced this pull request Aug 26, 2021
…hub.com:Unity-Technologies/com.unity.multiplayer.mlapi into sam/feature/interpolation-for-network-transform

* 'sam/feature/interpolation-for-network-transform' of github.com:Unity-Technologies/com.unity.multiplayer.mlapi:
  test: NetworkTransformStateTests no longer uses ReplNetworkState (#1084)
  fix: networkmanager prefab validation and no scene management manual test (#1073)
  feat: snapshot. MTT-1088 Snapshot acknowledgment gaps (#1083)
  feat: Add a test to validate registration of metric types (#1072)
  chore!: Remove unsupported UNET Relay behavior (MTT-1000) (#1081)
  fix: 2+ inheritance from network behaviour causes compilation exception (#1078) (#1079)
  test: add networkscenemanager additive scene loading tests (#1076)
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 2023
…on (Unity-Technologies#1078) (Unity-Technologies#1079)

* fix: 2+ inheritance from network behaviour causes compilation exception (Unity-Technologies#1078)

* Update com.unity.netcode.gameobjects/Editor/CodeGen/NetworkBehaviourILPP.cs

Co-authored-by: M. Fatih MAR <[email protected]>

* updated comment based on feedback

Co-authored-by: M. Fatih MAR <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants