Error when closing Architect 2022.1

When I close the Architect, build 2022.1.0.2420, I end with the following error:

ERROR OrigamArchitect.frmMain - System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   at System.Span`1..ctor(T[] array, Int32 start, Int32 length)
   at ProtoBuf.ProtoWriter.StreamProtoWriter.ImplWriteFixed64(State& state, UInt64 value) in /_/src/protobuf-net.Core/ProtoWriter.Stream.cs:line 255
   at ProtoBuf.ProtoWriter.State.WriteUInt64(UInt64 value) in /_/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:line 302
   at ProtoBuf.Internal.PrimaryTypeProvider.ProtoBuf.Serializers.ISerializer<System.Guid>.Write(State& state, Guid value) in /_/src/protobuf-net.Core/Internal/PrimaryTypeProvider.Guid.cs:line 68
   at ProtoBuf.ProtoWriter.WriteMessage[T](State& state, T value, ISerializer`1 serializer, PrefixStyle style, Boolean recursionCheck) in /_/src/protobuf-net.Core/ProtoWriter.cs:line 259
   at ProtoBuf.ProtoWriter.State.WriteAny[T](Int32 fieldNumber, SerializerFeatures features, T value, ISerializer`1 serializer) in /_/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:line 389
   at ProtoBuf.Internal.KeyValuePairSerializer`2.Write(State& state, KeyValuePair`2 value) in /_/src/protobuf-net.Core/Internal/KeyValuePairSerializer.cs:line 64
   at ProtoBuf.ProtoWriter.WriteMessage[T](State& state, T value, ISerializer`1 serializer, PrefixStyle style, Boolean recursionCheck) in /_/src/protobuf-net.Core/ProtoWriter.cs:line 259
   at ProtoBuf.Serializers.MapSerializer`3.Write[TEnumerator](State& state, Int32 fieldNumber, WireType wireType, TEnumerator& enumerator, KeyValuePairSerializer`2& pairSerializer) in /_/src/protobuf-net.Core/Serializers/MapSerializer.cs:line 90
   at ProtoBuf.Serializers.DictionarySerializer`3.Write(State& state, Int32 fieldNumber, WireType wireType, TCollection values, KeyValuePairSerializer`2& pairSerializer) in /_/src/protobuf-net.Core/Serializers/MapSerializer.cs:line 196
   at ProtoBuf.Serializers.MapSerializer`3.WriteMap(State& state, Int32 fieldNumber, SerializerFeatures features, TCollection values, SerializerFeatures keyFeatures, SerializerFeatures valueFeatures, ISerializer`1 keySerializer, ISerializer`1 valueSerializer) in /_/src/protobuf-net.Core/Serializers/MapSerializer.cs:line 74
   at proto_9(State& , AutoIncrementedIntIndex`1 )
   at ProtoBuf.ProtoWriter.WriteMessage[T](State& state, T value, ISerializer`1 serializer, PrefixStyle style, Boolean recursionCheck) in /_/src/protobuf-net.Core/ProtoWriter.cs:line 259
   at ProtoBuf.ProtoWriter.State.WriteMessage[T](Int32 fieldNumber, SerializerFeatures features, T value, ISerializer`1 serializer) in /_/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:line 336
   at proto_1(State& , TrackerSerializationData )
   at ProtoBuf.ProtoWriter.State.SerializeRoot[T](T value, ISerializer`1 serializer) in /_/src/protobuf-net.Core/ProtoWriter.State.WriteMethods.cs:line 549
   at ProtoBuf.Serializer.Serialize[T](Stream destination, T instance, Object userState) in /_/src/protobuf-net/Serializer.Serialize.cs:line 33
   at Origam.DA.Service.BinFileLoader.Persist(ItemTracker itemTracker)
   at Origam.Extensions.ReaderWriterLockSlimExtensions.RunWriter(ReaderWriterLockSlim rwLock, Action action)
   at Origam.Workbench.Services.FilePersistenceService.UnloadService()
   at Origam.Workbench.Services.ServiceManager.UnloadService(IWorkbenchService service)
   at Origam.OrigamEngine.RuntimeServiceFactory.UnloadServices()
   at OrigamArchitect.frmMain.UnloadConnectedServices()
   at OrigamArchitect.frmMain.Disconnect()

Fixed in build 2022.1.0.2452. The best approach is to uninstall previous version and to delete OrigamArchitect.exec.config.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.