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
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 Script Canvas node translation system and naming consistency 4 years ago
Code Fixed script canvas component asset not being found (#6727) 4 years ago
Registry Script Canvas node translation system and naming consistency 4 years ago
.gitignore Added .gitignore so that Script Canvas debug logs don't get picked up as untracked files. 5 years ago
CMakeLists.txt Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
gem.json License Info is Displayed as Clickable Link in Gem Catalog + Other Inspector Improvements (#5272) 4 years ago
preview.png Initial commit 5 years ago