Rive App crashes after opening a specific file

I worked on a file recently and suddenly the app crashed. I keeps crashing everytime I open this specific file. I’m working with the macOS app, I tried it with the web app via Chrome just now and there it works just fine. Seems to be an app specific thing then. This is the report it is giving me:


Date: 2026-09-07 06:22:33.254180Z

System: Mac

Application: App

Editor Version: 0.8.5674

Editor Environment: prod

User: 1635851 - signedIn: true

Error:

RangeError (length): Invalid value: Not in inclusive range 0..2: 65

#0 LayoutSizingStyle.widthScaleType (package:rive_core/layout/layout_sizing_style.dart)

#1 LayoutComponent.layoutComponentStyleScaleTypeChanged (package:rive_core/layout_component.dart:1627)

#2 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:435)

#3 Notifier.notify (package:rive_core/notifier.dart:10)

#4 LayoutComponentStyle.layoutWidthScaleTypeChanged (package:rive_core/layout/layout_component_style.dart:938)

#5 LayoutSizingStyleBase._layoutWidthScaleTypeBind (package:rive_core/src/generated/layout/layout_sizing_style_base.dart:580)

#6 LayoutSizingStyleBase.layoutWidthScaleTypeBound= (package:rive_core/src/generated/layout/layout_sizing_style_base.dart:584)

#7 RiveCoreContext.bindUint (package:rive_core/src/generated/rive_core_context.dart:42628)

#8 ContextValueNumber.apply (package:rive_core/data_bind/context/context_value_number.dart:29)

#9 DataBind.update (package:rive_core/data_bind/data_bind.dart:511)

#10 Artboard._updateDataBind (package:rive_core/artboard.dart:924)

#11 _Array.forEach (dart:core-patch/array.dart:41)

#12 Artboard.updateDataBinds (package:rive_core/artboard.dart:949)

#13 Artboard.advance (package:rive_core/artboard.dart:1078)

#14 RiveFile.advance (package:rive_core/rive_file.dart:318)

#15 EditorRiveFile.advance (package:rive_editor/rive/editor_rive_file.dart:211)

#16 OpenFileContext._advance (package:rive_editor/rive/open_file_context.dart:2002)

#17 OpenFileContext.advance (package:rive_editor/rive/open_file_context.dart:1962)

#18 Rive._drawFrame (package:rive_editor/rive/rive.dart:464)

#19 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1430)

#20 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1345)

#21 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1198)

#22 rootRun (dart:async/zoneroot.dart:35)

#23 _CustomZone.run (dart:async/zone.dart:726)

#24 _CustomZone.runGuarded (dart:async/zone.dart:625)

#25 _invoke (dart:ui/hooks.dart:425)

#26 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:447)

#27 _drawFrame (dart:ui/hooks.dart:395)