I had this
[SerializeField] SendingWorkStationUI myWorkstationUI;
[ObserversRpc]
void ObserverRefreshDisplay()
{
myWorkstationUI.RefreshDisplay();
}
Where SendingWorkstationUI is inheriting from Monobehaviour WorkStationUI.
This was working, but just noticed that this had broken at some point, maybe in some Fishnet update(?).
The [ObserversRPC] was calling the base class virtual method, not the overridden method in the the inheriting class.
Moving the actual method call outside the [ObserversRPC] fixed it:
[ObserversRpc]
void ObserverRefreshDisplay()
{
LocalRefreshDisplay();
}
void LocalRefreshDisplay()
{
myWorkstationUI.RefreshDisplay();
}
Using Fishnet 4.6.4