RPC call failed because function does not exist in any script attached to ""

hey everyone,

im trying to call an RPC function called “UpdateScrolling” that is within a script attached to 1 object.

when calling the RPC function i get an error that says
"RPC call failed because the function “UpdateScrolling” does not exist in any script attached to “MainMenuMaster(Clone)”

i understand now that calling a RPC function will try to call that function on every object inside the scene that has a NetworkView component on it (or so i think) and that if there is no function within a script attached to an object it creates an error

the thing is i do NOT want the MainMenuMaster object to attempt to call this function, simply only the original object that is calling the function, and only to update the same object over the network.

any input would be great,

thanks

1 Like

fixed,

found that if you instance a object locally with a network view the RPC calls get all wacky,

if you have the object in existence from the start of the scene or use network. instantiate then it works fine,

2 Likes

Hi.
Thank you!
your solution fixed my problem.