Author Topic: RFCs not being called in build  (Read 3475 times)

destructicorn

  • Guest
RFCs not being called in build
« on: June 19, 2013, 10:09:46 AM »
I'm having a problem with RFC functions being called in the build vs. the editor.  For my game one player hosts and the other is a client.  It seems that whenever the build is a client something weird happens.  Either an RFC doesn't get called or I get a parameters do not match signature exception.  I can't figure out why this would happen, it works in the editor.  So far it only happens with a certain script.
« Last Edit: June 19, 2013, 10:23:31 AM by destructicorn »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: RFCs not being called in build
« Reply #1 on: June 19, 2013, 12:51:31 PM »
Most common cause -- you had a different set of parameters and created a persistent channel in the past. Delete "server.dat" save file.

destructicorn

  • Guest
Re: RFCs not being called in build
« Reply #2 on: June 19, 2013, 01:32:23 PM »
I just tried deleting the file and rebuilt the game and no luck.  I keep getting either a wrong parameter exception or the RFC never gets called on the client.  I've also tried rebuilding the method list since I've had a problem with that before.

destructicorn

  • Guest
Re: RFCs not being called in build
« Reply #3 on: June 19, 2013, 02:11:38 PM »
I fixed it by making the object not instantiated over the network but an object that just part of the scene by default and it seems to work.