Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.1p1

Issue ID

1006842

Regression

No

Neither SyncVar hooks nor ClientRPC or Command attributed functions are being called when overridden

Networking

-

Steps to reproduce:
1. Open the attached project
2. Open the TestScene
3. Play the scene
4. Click LAN Host(H)
5. Click the Button that appears
6. Notice that even though the Methods CmdTest and RpcTest in SyncVarTestAbstract, flagged as Command and ClientRPC respectively, are overridden in SyncVarTest, only the base methods Debugs are called (see the console). This also happens for the hook variable with HookTest method is also overridden.
All the overrides are just ignored. It's not documented, the Weaver does not give a warning, it just doesn't work.

Reproduced with: 5.6.5p2, 2017.1.3p2, 2017.2.2p1, 2017.3.1p3, 2018.1.0b10, 2018.2.0a4

Actual results: Neither SyncVar hooks nor ClientRPC or Command attributed functions are being called when overridden
Expected results: SyncVar hooks nor ClientRPC or Command attributed functions should be called when overridden or this behavior should be documented

  1. Resolution Note:

    Mass closure of UNET Bugs.
    As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
    Closing this bug as part of cleaning-up the Bug List.

    If you feel this bug is really a road-blocker, you can reopen the bug and we will work on this one.

    For more information and next steps see this [blog post](https://blogs.unity3d.com/2018/08/02/evolving-multiplayer-games-beyond-unet/) and the [FAQ](https://support.unity3d.com/hc/en-us/articles/360001252086-UNet-Deprecation-FAQ)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.