Author Topic: Upgraded to Unity 5, Now errors about function not created  (Read 2047 times)

morty346

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Upgraded to Unity 5, Now errors about function not created
« 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!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Upgraded to Unity 5, Now errors about function not created
« Reply #1 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.