Skip to content

fix: Compile error when a class with Rpcs inherits from an intermediate base class with no Rpcs. #2751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 27, 2023

Conversation

ShadauxCat
Copy link
Collaborator

Changelog

  • Fixed: Fixed a bug where having a class with Rpcs that inherits from a class without Rpcs that inherits from NetworkVariable would cause a compile error.

Testing and Documentation

  • Includes unit tests.
  • No documentation changes or additions were necessary.

@ShadauxCat ShadauxCat requested a review from a team as a code owner October 26, 2023 20:30
@ShadauxCat ShadauxCat changed the title Fix: Compile error when a class with Rpcs inherits from an intermediate base class with no Rpcs. fix: Compile error when a class with Rpcs inherits from an intermediate base class with no Rpcs. Oct 26, 2023
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoelStephensUnity NoelStephensUnity merged commit 4e246ff into develop Oct 27, 2023
@NoelStephensUnity NoelStephensUnity deleted the fix/initializeRpcs_compile_error branch October 27, 2023 20:18
PitouGames added a commit to PitouGames/com.unity.netcode.gameobjects that referenced this pull request Nov 13, 2023
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