Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: destructicorn on June 19, 2013, 10:09:46 AM

Title: RFCs not being called in build
Post by: destructicorn 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.
Title: Re: RFCs not being called in build
Post by: ArenMook 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.
Title: Re: RFCs not being called in build
Post by: destructicorn 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.
Title: Re: RFCs not being called in build
Post by: destructicorn 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.