csharp
public sealed class SerializationVersionExceptionThe data was written by a schema version this build cannot read.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from SerializationException because the response is different. A truncated file is broken; a file from another version is intact and needs a migration, which is something a person can write.
Fields and properties (3)
public string ContractNameThe contract the data claims to be.
public int DataVersionThe version the data was written with.
public int CurrentVersionThe version this build writes.
Methods (4)
public SerializationVersionException()Creates an exception with the default message.
public SerializationVersionException(string message)Creates an exception with a message.
public SerializationVersionException(string message, Exception innerException)Creates an exception with a message and a cause.
public SerializationVersionException(string contractName, int dataVersion, int currentVersion)Creates an exception naming the contract and both versions.
Used by (351, showing 40)
- Vixen_Samples_AddressablesRemote_GreetingSerializerAddressablesRemote
- Vixen_Samples_ThirdPersonShooter_BoxCollisionSerializerThirdPersonShooter
- Vixen_Samples_ThirdPersonShooter_CharacterVisualsSerializerThirdPersonShooter
- Vixen_Samples_ThirdPersonShooter_SpawnPointSerializerThirdPersonShooter
- SerializationTestsVixen.Core.Serialization.Tests
- Vixen_Animation_AnimationClipContentSerializerVixen.Animation
- Vixen_Animation_AnimationEventSerializerVixen.Animation
- Vixen_Animation_Constraints_ConstraintFrameRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ConstraintTagRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ConstraintTemplateContentSerializerVixen.Animation
- Vixen_Animation_Constraints_HarnessGroundStepSerializerVixen.Animation
- Vixen_Animation_Constraints_HarnessPlanContentSerializerVixen.Animation
- Vixen_Animation_Constraints_HarnessPropAxisSerializerVixen.Animation
- Vixen_Animation_Constraints_HarnessPropSerializerVixen.Animation
- Vixen_Animation_Constraints_HarnessThresholdRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_PriorityLadderContentSerializerVixen.Animation
- Vixen_Animation_Constraints_PriorityRungRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ProxyShapeRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ProxyShapeSetContentSerializerVixen.Animation
- Vixen_Animation_Constraints_ShapeClassMemberRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ShapeClassRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ShapeTagRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ShapeTermRecordSerializerVixen.Animation
- Vixen_Animation_Constraints_ShapeVocabularyContentSerializerVixen.Animation
- Vixen_Animation_Moves_FacetRecordSerializerVixen.Animation
- Vixen_Animation_Moves_MoveEntryRecordSerializerVixen.Animation
- Vixen_Animation_Moves_MoveSetContentSerializerVixen.Animation
- Vixen_Animation_Moves_TransitionRuleRecordSerializerVixen.Animation
- Vixen_Assets_Tests_OtherAssetSerializerVixen.Assets.Tests
- Vixen_Assets_Tests_ReferencedThingSerializerVixen.Assets.Tests
- Vixen_Assets_Tests_ReferringThingSerializerVixen.Assets.Tests
- Vixen_Assets_Tests_TestAssetSerializerVixen.Assets.Tests
- Vixen_Audio_Assets_AudioAutomationAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioBusAutomationAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioBusParameterAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioCurveAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioCurvePointAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioEventAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioEventLayerAssetSerializerVixen.Audio
- Vixen_Audio_Assets_AudioEventSpatialAssetSerializerVixen.Audio