Cannot convert method group `IsError' to non-delegate type `bool'. Consider using parentheses to invoke the method (CS0428) (Assembly-CSharp)
Closed this issue · 2 comments
beersheba commented
Error in code on page 3 - Set up the SceneController
else if (Session.Status.IsError)
Cannot convert method group
IsError' to non-delegate type
bool'. Consider using parentheses to invoke the method (CS0428) (Assembly-CSharp)
Must be
else if (Session.Status.IsError())
CJRobertson commented
I get the same error. Using the suggestion from the OP's post fixes this issue.
kai-dream commented
Hi,
Thanks for trying out the codelab. Yes, there's minor error in the webpage, we missed the "()".
I've fixed that.
Cheers