Personally my app is ready and when I compile it, it is giving this error:
UnityEngine.Debug: Log (Object)
How do I stop receiving this error? Do not compile it into it.
Does anyone know why it stops debugging?
Personally my app is ready and when I compile it, it is giving this error:
UnityEngine.Debug: Log (Object)
How do I stop receiving this error? Do not compile it into it.
Does anyone know why it stops debugging?
As far as I understand, the Debug.Log
method is not recognizing the this
object you passed as a parameter.
public static void Log(object message);
public static void Log(object message, Object context);
message
- > String or object to be converted to string representation for display; Object
- > Object to which the message applies; You passed an object that can not be converted to string - this
.
Construct a recognizable error message and pass it on to the parameter.