Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ public static async Task<bool> ToggleBlockWithConfirmation(BasisRemotePlayer pla
player.OnChatMessageReceived?.Invoke(string.Empty);
}
player.OnNamePlateActiveStateShouldRefresh?.Invoke();
#if !UNITY_SERVER
BasisNetworkPIPCameraDriver.RefreshPipNamePlateVisibilityFromPlayerState();
#endif

// Mirror the block onto the other side so they also can't see/hear us
// (session-scoped temp block).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ public static void ResetNamePlateDefaults()
public static void ApplyNamePlateSettings()
{
BasisRemoteNamePlateDriver.ApplyNamePlateSettingsFromUI();
#if !UNITY_SERVER
BasisNetworkPIPCameraDriver.ApplyPipNamePlateSettingsFromUI();
#endif
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ public static async Task RebootManagement(bool DisplayReason, NetPeer peer, Disc
}

BasisRemoteNetworkDriver.Apply();//complete in-flight jobs before clearing players
#if !UNITY_SERVER
BasisNetworkPIPCameraDriver.ClearRemotePIPs();
#endif
BasisNetworkPlayers.ClearAllRegistries();//remove players
Basis.Scripts.Networking.Receivers.BasisShoutAudioDriver.DeInitialize();//remove shout audio sources
await BasisNetworkSpawnItem.Reset();//remove items
Expand Down
Loading
Loading