Skip to content

feat: report network behaviour name to the profiler#1058

Merged
becksebenius-unity merged 9 commits intodevelopfrom
feature/report-network-behaviour-name
Aug 18, 2021
Merged

feat: report network behaviour name to the profiler#1058
becksebenius-unity merged 9 commits intodevelopfrom
feature/report-network-behaviour-name

Conversation

@becksebenius-unity
Copy link
Copy Markdown
Contributor

No description provided.

@becksebenius-unity becksebenius-unity changed the base branch from master to feature/expose-network-behaviour-name August 17, 2021 00:52
Base automatically changed from feature/expose-network-behaviour-name to develop August 17, 2021 15:58
# Conflicts:
#	com.unity.netcode.gameobjects/Editor/CodeGen/NetworkBehaviourILPP.cs
#	com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs
@becksebenius-unity becksebenius-unity marked this pull request as ready for review August 17, 2021 20:25
@becksebenius-unity becksebenius-unity requested a review from a team August 17, 2021 21:24
@@ -107,7 +107,12 @@ internal void __endSendServerRpc(NetworkSerializer serializer, uint rpcMethodId,
#if DEVELOPMENT_BUILD || UNITY_EDITOR
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not related to this PR, but does this mean we wont have access to stats in the RNSM in release builds outside of the editor?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Only RPCs. There was some concern that the memory needed to keep RPC names around shouldn't exist, so we compromised with this strategy for now.

@becksebenius-unity becksebenius-unity merged commit 43d4494 into develop Aug 18, 2021
@becksebenius-unity becksebenius-unity deleted the feature/report-network-behaviour-name branch August 18, 2021 14:40
SamuelBellomo added a commit that referenced this pull request Aug 23, 2021
…nsform

* develop: (21 commits)
  test: adding more details to multiprocess readme (#1050)
  refactor!: convert NetworkTransform.NetworkState to `struct` (#1061)
  fix: networkmanager destroy on app quit (#1011)
  feat: snapshot, using unreliable packets, now that the underlying foundation supports it. Only merge after #1062 (#1064)
  feat: snapshot. Fully integrated despawn, mtt-1092, mtt-1056 (#1062)
  fix: eliminate bad use-after-free(destroy) pattern (#1068)
  chore: cleanup meta files for empty dirs (#1067)
  chore: minor MLAPI to Netcode rename (#1065)
  feat: report network behaviour name to the profiler (#1058)
  fix: player movement (#1063)
  test: Add unit tests for NetworkTime properties (#1053)
  chore: remove authority & netvar perms from NetworkTransform (#1059)
  feat: networktransform pos/rot/sca thresholds on state sync (#1055)
  feat: expose network behaviour type name internally (#1057)
  chore: remove all the old profiling code (#1048)
  fix: if-guard `NetworkManager.__rpc_name_table` access (#1056)
  fix: Disabling fixedupdate portion of SpawnRpcDespawn test because it's failing for known reasons that will be fixed in the IMessage refactor. (#1049)
  feat: Implement metrics for the new network profiler (#960)
  chore!: change package name & asmdefs (#1026)
  feat: per axis networktransform state sync (+bitwise state comp) (#1042)
  ...

# Conflicts:
#	com.unity.netcode.gameobjects/Prototyping/NetworkTransform.cs
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 2023
…es#1058)

* feat: expose the name of the network behaviour without runtime alloc

* feat: report network behaviour names to the profiler

* adapting to change to __getTypeName

* updated tools package dependency in test project

* fix for failing test

* updated formatting for the really long lines

* Some more formatting
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