Tasharen Entertainment Forum

Support => TNet 3 Support => Topic started by: RFCsDriveMeNuts on March 04, 2014, 01:26:31 PM

Title: Suggestion: Make TNObject.FindAndExecute log more verbose.
Post by: RFCsDriveMeNuts on March 04, 2014, 01:26:31 PM
This is something I did on my own, and later found you had suggested to another user in the forums:

  1.                                
  2. Debug.LogError("Unable to execute function with ID of '" + funcID + "'. Make sure there is a script alongside TNObject ID " + objID + " that can receive this call.\nGameObject: " + GetHierarchy(obj.gameObject), obj.gameObject);
  3.  

This will make tracing RFC ID mistakes easier to track down when you have complex objects or similar objects.
Title: Re: Suggestion: Make TNObject.FindAndExecute log more verbose.
Post by: ArenMook on March 05, 2014, 08:52:37 AM
Why though? You can just click on the error message to have the TNObject get highlighted for you.