diff --git a/cocos/editor-support/cocostudio/FlatBuffersSerialize.cpp b/cocos/editor-support/cocostudio/FlatBuffersSerialize.cpp index 42fe6d7c8e..fccc97bbc2 100644 --- a/cocos/editor-support/cocostudio/FlatBuffersSerialize.cpp +++ b/cocos/editor-support/cocostudio/FlatBuffersSerialize.cpp @@ -175,6 +175,8 @@ std::string FlatBuffersSerialize::serializeFlatBuffersWithXMLFile(const std::str attribute = attribute->Next(); if (attribute) _csdVersion = attribute->Value(); + + _csdVersion = "2.1.0.0"; } if (strcmp("Content", element->Name()) == 0)