- Home /
RPC Error "Could't invoke RPC function..."
I received this error, which never happened before.
"Could't invoke RPC function 'ProcessCL' because the networkView 'SceneID: 2 Level Prefix: 0' doesn't exist" View ID SceneID: 2 Level Prefix: 0 not found during lookup. Strange behaviour may occur
Could someone tell me if I've done/switched something wrong from within Unity?
Answer by zipa · Sep 10, 2013 at 10:30 AM
Hello. NetworkView component should be attached to synchronized gameObjects in both applications and it should have the same ID in both scenas. Check it :) Network Reference Guide
Ah! Thanks for the clue (this one too). Apparently, I created one NetworkView object, and disabled it, created another and disabled it, and created another one. All has got different ID. Thus, when I sent from server with networkView id 3, the receiver was still assigned to 1.
Answer by jaxx0rr · Oct 01, 2016 at 04:45 PM
make sure you have "Run in Background" on client and server checked if you test on same machine.. I got the error and it was from this I think.. Its under Build Settings -> Player Settings