Duplicate Layer in State Machine Crashes

Hi, when I duplicate a State machine Layer the App crashes, when I open the file afterwards and try it again nothing happens when I try to duplicate the layer. When I create a new empty layer I can duplicate it, it stops working when there are connected timelines. without connection it still works.

I found out that when I delete my view model I can duplicate the layer. I really need help to fix this issue

My Crash report :
Date: 2026-05-06 09:01:33.814901Z

System: Mac

Application: App

Editor Version: 0.8.4742

Editor Environment: prod

User: 334856 - signedIn: true

Error:

Unsupported operation: Unsupported property key 479. A new runtime is likely necessary to play this file.

#0 CoreContext._skipProperty (package:core/core.dart:1968)

#1 CoreContext.readRuntimeObject (package:core/core.dart:1488)

#2 RuntimeImporterV7.import.<anonymous closure> (package:rive_core/runtime/runtime_importer_v7.dart:214)

#3 CoreContext.batchSync (package:core/core.dart:885)

#4 CoreContext.batch (package:core/core.dart:861)

#5 RuntimeImporterV7.import (package:rive_core/runtime/runtime_importer_v7.dart:211)

#6 StateMachineManager._onDuplicateLayer (package:rive_editor/rive/managers/animation/state_machine_manager.dart:1395)

#7 _rootRunUnary (dart:async/zone.dart:1538)

#8 _CustomZone.runUnary (dart:async/zone.dart:1429)

#9 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1329)

#10 BufferingStreamSubscription.sendData (dart:async/stream_impl.dart:381)

#11 DelayedData.perform (dart:async/streamimpl.dart:573)

#12 PendingEvents.handleNext (dart:async/streamimpl.dart:678)

#13 PendingEvents.schedule.<anonymous closure> (dart:async/streamimpl.dart:649)

#14 _rootRun (dart:async/zone.dart:1517)

#15 _CustomZone.run (dart:async/zone.dart:1422)

#16 _CustomZone.runGuarded (dart:async/zone.dart:1321)

#17 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)

#18 _rootRun (dart:async/zone.dart:1525)

#19 _CustomZone.run (dart:async/zone.dart:1422)

#20 _CustomZone.runGuarded (dart:async/zone.dart:1321)

#21 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1362)

#22 microtaskLoop (dart:async/schedulemicrotask.dart:40)

#23 startMicrotaskLoop (dart:async/schedulemicrotask.dart:49)