Fixed

If i want to know is material have any methods and try do it like this:
getMethodAt(0), i will catch error because of:
ShaderMethodSetup.getMethodAt { return
EffectMethodBase(_methods[index].method); }

It should check _methods length and return null if legnth is 0
Merge pull request #583 from gNikro/fix_unexpected_error

It fix issue 577