Add file information to Version; improve Method deserialization warnings; add SC unit test content to builders

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-08-30 14:33:01 -07:00
parent 9688832adc
commit 862df096db
5 changed files with 52 additions and 14 deletions
@@ -681,6 +681,13 @@ namespace ScriptCanvas
outType = eventType;
return true;
}
AZ_Warning("Script Canvas"
, !m_warnOnMissingFunction
, "Could not find event: %s, in bus: %s, anywhere in BehaviorContext"
, methodName.c_str()
, m_className.c_str());
return false;
}
break;
@@ -693,6 +700,12 @@ namespace ScriptCanvas
outType = EventType::Count;
return true;
}
AZ_Warning("Script Canvas"
, !m_warnOnMissingFunction
, "Could not find free method: %s anywhere in BehaviorContext"
, methodName.c_str());
return false;
}
break;
@@ -709,15 +722,27 @@ namespace ScriptCanvas
outType = EventType::Count;
return true;
}
AZ_Warning("Script Canvas"
, !m_warnOnMissingFunction
, "Could not find method or property: %s in class %s: , anywhere in BehaviorContext"
, methodName.c_str()
, m_className.c_str());
return false;
}
break;
default:
AZ_Warning("Script Canvas", !m_warnOnMissingFunction, "unsupported method type in method");
default:
break;
}
}
AZ_Warning("Script Canvas"
, !m_warnOnMissingFunction
, "Could not find overloaded method: %s, class or event name: %s, anywhere in BehaviorContext"
, methodName.c_str()
, m_className.c_str());
return false;
}