You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/ScriptCanvas/Code/Editor
moraaar 57e4fb9b39
Fixed script canvas component asset not being found (#6727)
Script canvas component has the member m_sourceData (that points to the script canvas asset) that internally has data, id and path. Path is serialized as the absolute path of the pc that is saving the level.

So when another pc loads the same level it cannot find the script canvas asset.

The function CompleteDescription takes a look at the id and takes the path from the asset catalog, but at the moment it's doing an early return because id and path are not empty (but path is the value serialized from other user saving the level).

By removing the early return condition then it it will resolve by using id, looking into the catalog and getting the real path.

This fix makes several physics automated tests that relied on script canvas to work.

Signed-off-by: moraaar moraaar@amazon.com
4 years ago
..
Assets the bloodbath compiles 4 years ago
Components Fixed script canvas component asset not being found (#6727) 4 years ago
Debugger Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Framework basic refactor of assets (#6467) 4 years ago
GraphCanvas Merge pull request #6394 from aws-lumberyard-dev/carlitosan-sc-redcode-asset 4 years ago
Include/ScriptCanvas Fix issues caused by SC editor component holding onto a live graph (#6734) 4 years ago
Model [Experimental] Asset Picker Flatten View (#3589) 5 years ago
Nodes basic refactor of assets (#6467) 4 years ago
Static Gems/ScriptCanvas* 4 years ago
Tests Merge branch 'development' into cmake/SPEC-7179 5 years ago
Translation Script Canvas node translation system and naming consistency 4 years ago
Undo redcoding asset handler, holder, tracker, memory asset 4 years ago
Utilities initial compile of detailed path of change to regular sc files 4 years ago
View fix for edit SC action in entity context menu (#6686) 4 years ago
QtMetaTypes.h Git MainWindow.cpp to point where it compiles, and reveals the radius of changes for everything to work without assets 4 years ago
ReflectComponent.cpp the bloodbath compiles 4 years ago
ReflectComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ScriptCanvasEditorGem.cpp Merge branch 'development' into cmake/SPEC-7179 5 years ago
Settings.cpp redcode the asset itself WIP 4 years ago
Settings.h initial compile of detailed path of change to regular sc files 4 years ago
SystemComponent.cpp fix for edit SC action in entity context menu (#6686) 4 years ago
SystemComponent.h the bloodbath compiles 4 years ago