redcode sc asset files bloodbath
Signed-off-by: carlitosan <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -59,7 +59,7 @@ namespace ScriptCanvasEditor
|
||||
}
|
||||
|
||||
auto assetElement = rootElement.GetSubElement(assetElementIndex);
|
||||
AZ::Data::Asset<ScriptCanvasAsset> scriptCanvasAsset;
|
||||
AZ::Data::Asset<Deprecated::ScriptCanvasAsset> scriptCanvasAsset;
|
||||
if (!assetElement.GetData(scriptCanvasAsset))
|
||||
{
|
||||
AZ_Error("Script Canvas", false, "Unable to find Script Canvas Asset on a Version %u Editor ScriptCanvas Component", rootElement.GetVersion());
|
||||
|
||||
Reference in New Issue
Block a user