Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: morty346 on October 11, 2015, 04:14:31 PM

Title: Upgraded to Unity 5, Now errors about function not created
Post by: morty346 on October 11, 2015, 04:14:31 PM
I last updated TNE about ~1 year ago...

Changed to unity5 and deleted the TNET folder, and re imported from the asset store and now I get this error:

Debug.LogWarning("[TNet] Trying to execute a function '" + funcName + "' on TNObject #" + objID +
            " before it has been created.");

I looked through the update logs, but I am not sure what I am missing?

Any help is greatly appreciated!
Title: Re: Upgraded to Unity 5, Now errors about function not created
Post by: ArenMook on October 12, 2015, 11:13:06 PM
What's the actual error, not the debug line? That line simply triggers when you are executing a function on an object before it has been created -- also happens when you call an RFC on an object that has only been created on one player. For example when you instantiated a TNObject-containing game object locally instead of going through TNManager.Create.