I actually got quite far a long, got the basics for the game just need to work on the details and interface. I had a question I keep getting this error:
[TNet] Failed to call TNO #16777214 RFC animatescript.Idler: Object reference not set to an instance of an object at animatescript.Idler () [0x00000] in C:\Users\Will\Documents\Project73\Assets\myScripts\animatescript.cs:662
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222
UnityEngine.Debug:LogError(Object, Object) TNet.UnityTools:PrintException(Exception, CachedFunc, Int32, String, Object[]) (at Assets/TNet/Client/TNUnityTools.cs:81) TNet.UnityTools:ExecuteAll(List`1, String, Object[]) (at Assets/TNet/Client/TNUnityTools.cs:182) TNObject:Execute(String, Object[]) (at Assets/TNet/Client/TNObject.cs:343) TNObject:FindAndExecute(UInt32, String, Object[]) (at Assets/TNet/Client/TNObject.cs:385) TNManager:OnForwardedPacket(BinaryReader) (at Assets/TNet/Client/TNManager.cs:1089) TNet.GameClient:ProcessPacket(Buffer, IPEndPoint) (at Assets/TNet/Client/TNGameClient.cs:810) TNet.GameClient:ProcessPackets() (at Assets/TNet/Client/TNGameClient.cs:747) TNManager:Update() (at Assets/TNet/Client/TNManager.cs:1113)
It happens on two functions. It doesn't always happen but by the end of a few minutes I have about 999+. It happens on two functions this is the first. I think but I am not 100% sure it started happening after the updated version -- but again I can't remember entirely. Any explanation as to what is going on? I am updating on user input or lack thereof so it maybe it is sending the packets too quick and not able to execute the rfc on each packet?
The function for reference is:
[RFC]
public void Idler() {
ani.animation.CrossFade ("idle");
}
Thank you for the help! Wouldn't have made it this far without all the excellent tutorials and examples.