Save template - incorrect file saved
Steps:
1. Create one FSM, ....., save the template.
2. Yesterday it saves correctly.But today it saves incorrectly, even I restart the unity, or change one computer.
Yesterday, that one is 28Kb size, but today this saved one is 2Kb size.
The incorret file is here:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1219815696, guid: 336aa50a81ce85b47b50a7b6adf85a76, type: 1}
m_Name: UIPanelTemplate
category: General
fsm:
owner: {fileID: 0}
name: FSM
startState:
states:
- name:
description:
colorIndex: 0
position:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
isBreakpoint: 0
hideUnused: 0
transitions: []
actionData:
actionNames: []
customNames: []
actionEnabled:
actionIsOpen:
actionStartIndex:
actionHashCodes:
unityObjectParams: []
fsmGameObjectParams: []
fsmOwnerDefaultParams: []
animationCurveParams: []
functionCallParams: []
fsmEventTargetParams: []
fsmPropertyParams: []
layoutOptionParams: []
fsmStringParams: []
fsmObjectParams: []
arrayParamSizes:
arrayParamTypes: []
byteData:
paramDataType:
paramName: []
paramDataPos:
paramByteDataSize:
events: []
globalTransitions: []
variables:
floatVariables: []
intVariables: []
boolVariables: []
stringVariables: []
vector3Variables: []
colorVariables: []
rectVariables: []
quaternionVariables: []
gameObjectVariables: []
objectVariables: []
materialVariables: []
textureVariables: []
description:
docUrl:
showStateLabel: 1
breakpointsEnabled: 0
maxReEnterStateCount: 100
watermark:
ExposedEvents: []
RestartOnEnable: 1
EnableDebugFlow: 1
activeStateName: