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:
committed by
GitHub
parent
a9d986c10f
commit
5cc0cc9ee7
@@ -881,7 +881,7 @@ namespace AzFramework
|
||||
serializeContext->ClassDeprecate("NetBindable", "{80206665-D429-4703-B42E-94434F82F381}");
|
||||
|
||||
serializeContext->Class<TransformComponent, AZ::Component>()
|
||||
->Version(4, &TransformComponentVersionConverter)
|
||||
->Version(5, &TransformComponentVersionConverter)
|
||||
->Field("Parent", &TransformComponent::m_parentId)
|
||||
->Field("Transform", &TransformComponent::m_worldTM)
|
||||
->Field("LocalTransform", &TransformComponent::m_localTM)
|
||||
|
||||
Reference in New Issue
Block a user