Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: pahe on June 18, 2015, 02:27:22 AM
-
Hi.
I updated yesterday the TNet plugin and also extracted the server zip. After that, I got several compiler warnings, that "Application" has no XYZ function. I started to wonder what was happening, as these were simple UnityEngine function which always worked. After an hour or so, I realized that the server class is called "Application" without a namespace (doh!). I simply renamed the class then to TNetApplication and it worked fine.
Could you rename that one or move it into a namespace, so that problem wouldn't reoccur again?
-
Server executable is stand-alone. It doesn't need Unity, and shouldn't be inside Assets folder at all. You extracted it into the wrong place.
-
Sure I did. I simply extracted it into the TNet folder (haven't thought about it), so it was clearly my fault here. But I can imagine that other (unexperienced) developers may do the same as me and I think it doesn't hurt to rename it?
Well, anyway, just a suggestion :)