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.
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 | |
|---|---|---|
| .. | ||
| EditorGraph.cpp | 4 years ago | |
| EditorGraphVariableManagerComponent.cpp | 5 years ago | |
| EditorScriptCanvasComponent.cpp | 4 years ago | |
| EditorUtils.cpp | 4 years ago | |
| GraphUpgrade.cpp | 4 years ago | |
| IconComponent.cpp | 5 years ago | |
| IconComponent.h | 5 years ago | |