raiguard / TaskList

A simple and unobtrusive todo list for Factorio.
https://mods.factorio.com/mod/TaskList
MIT License
12 stars 9 forks source link

Crash when creating a new game #21

Closed Dominiquini closed 2 years ago

Dominiquini commented 2 years ago

Describe the Bug

I'm unable to start a new Tutorial or Editor Extensions/Testing scenarios!

To Reproduce

Steps to reproduce the behavior:

  1. Install this mod and Editor Extensions
  2. Open the game
  3. Single player
  4. New game
  5. Tutorial (or Editor Extensions/Testing)
  6. Crashing warning

Be certain to reproduce the issue on the same save file that you upload.

Save file & Username

No savefile. The crash happens when I try to create a new game!

Log file

483.048 Error AppManager.cpp:687: The mod Task List (0.4.2) caused a non-recoverable error. Please report this error to the mod author.

Error while running event TaskList::on_init() Error when running interface function EditorExtensions.get_player_proper_force: EditorExtensions/control.lua:65: attempt to index field 'players' (a nil value) stack traceback: EditorExtensions/control.lua:65: in function <EditorExtensions/control.lua:61> stack traceback: [C]: in function 'call' TaskList/scripts/util.lua:19: in function 'get_force' TaskList/scripts/gui/tasks/index.lua:343: in function 'new' TaskList/scripts/player-data.lua:28: in function 'refresh' TaskList/scripts/migrations.lua:7: in function 'generic' TaskList/control.lua:70: in function <TaskList/control.lua:57>

plaxorizor commented 2 years ago

i got this too

raiguard commented 2 years ago

This is actually a crash in Editor Extensions. Fixed for the next version.