Fixed the loading of uicanvas assets due to the NetBindable class being (#755)

removed from the SerializeContext.
The TransformComponent and ScriptComponent which used to Serialize a
NetBindable instance didn't have their version numbers bumped in order
to skip the old data when loading a binary ObjectStream
This commit is contained in:
lumberyard-employee-dm
2021-05-14 11:03:31 -05:00
committed by GitHub
parent a9d986c10f
commit 5cc0cc9ee7
6 changed files with 24 additions and 11 deletions
@@ -979,7 +979,7 @@ namespace AzFramework
};
serializeContext->Class<ScriptComponent, AZ::Component>()
->Version(3, converter)
->Version(4, converter)
->Field("ContextID", &ScriptComponent::m_contextId)
->Field("Properties", &ScriptComponent::m_properties)
->Field("Script", &ScriptComponent::m_script)