Skip to content

Crash on load saved game #1

@ashtanko

Description

@ashtanko

Hello, I encountered a crash when attempting to load a saved game.

Please review the stack trace provided below:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LateInitializationError: Field 'level' has not been initialized.
#0 Craftown.level (package:craftown/src/craftown.dart)
#1 SavedGameList.loadGame. (package:craftown/src/providers/saved_game_list_provider.dart:91:49)
#2 new Future.delayed. (dart:async/future.dart:422:39)
#3 Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#4 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#5 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#6 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions