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
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
..
Asset the bloodbath compiles 4 years ago
Builder Fix issues caused by SC editor component holding onto a live graph (#6734) 4 years ago
Editor Fixed script canvas component asset not being found (#6727) 4 years ago
Include/ScriptCanvas basic refactor of assets (#6467) 4 years ago
Source removes leftover of performance build 5 years ago
Tests basic refactor of assets (#6467) 4 years ago
Tools Script Canvas node translation system and naming consistency 4 years ago
CMakeLists.txt Script Canvas node translation system and naming consistency 4 years ago
scriptcanvasgem_common_files.cmake remove uber build exceptions (#6466) 4 years ago
scriptcanvasgem_debugger_files.cmake Gems/ScriptCanvas* 4 years ago
scriptcanvasgem_editor_asset_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
scriptcanvasgem_editor_builder_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
scriptcanvasgem_editor_files.cmake redcode sc asset files bloodbath 4 years ago
scriptcanvasgem_editor_shared_files.cmake Merge branch 'development' into cmake/SPEC-7179 5 years ago
scriptcanvasgem_editor_static_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
scriptcanvasgem_editor_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
scriptcanvasgem_editor_tools_files.cmake Script Canvas node translation system and naming consistency 4 years ago
scriptcanvasgem_game_files.cmake Merge branch 'development' into cmake/SPEC-7179 5 years ago
scriptcanvasgem_headers.cmake the bloodbath compiles 4 years ago
scriptcanvasgem_runtime_asset_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
scriptcanvasgem_tests_files.cmake Merge branch 'development' into cmake/SPEC-7179 5 years ago