[2.0.14] Crash (Animation::loadFrames)

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Big_J
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Feb 17, 2021 11:48 pm
Contact:

[2.0.14] Crash (Animation::loadFrames)

Post by Big_J »

It has something to do with animation layers

Code: Select all

tractor.animation.layers =
{
  {
    priority = "low",
    width = 512,
    height = 512,
    frame_count = 8,
    scale = 0.5,
    direction_count = 64,
    animation_speed = 2,
    max_advance = 0.2,
    stripes =
    {
    {
    filename = "__dopetorio__/graphics/entity/tractor/tractor-1.png",
    width_in_frames = 8,
    height_in_frames = 16
    },
    {
    filename = "__dopetorio__/graphics/entity/tractor/tractor-2.png",
    width_in_frames = 8,
    height_in_frames = 16
    },
    {
    filename = "__dopetorio__/graphics/entity/tractor/tractor-3.png",
    width_in_frames = 8,
    height_in_frames = 16
    },
    {
    filename = "__dopetorio__/graphics/entity/tractor/tractor-4.png",
    width_in_frames = 8,
    height_in_frames = 16
    }
    }
  },
  {
    priority = "low",
    width = 512,
    height = 512,
    frame_count = 2,
    scale = 0.5,
    draw_as_shadow = true,
    direction_count = 64,
    max_advance = 0.2,
    stripes = {
      {
      filename = "__dopetorio__/graphics/entity/tractor/tractor-1.png",
      width_in_frames = 8,
      height_in_frames = 16
      },
      {
      filename = "__dopetorio__/graphics/entity/tractor/tractor-2.png",
      width_in_frames = 8,
      height_in_frames = 16
      },
      {
      filename = "__dopetorio__/graphics/entity/tractor/tractor-3.png",
      width_in_frames = 8,
      height_in_frames = 16
      },
      {
      filename = "__dopetorio__/graphics/entity/tractor/tractor-4.png",
      width_in_frames = 8,
      height_in_frames = 16
      }
      }
  }
Attachments
factorio-current.log
(13.37 KiB) Downloaded 12 times
Big_J
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed Feb 17, 2021 11:48 pm
Contact:

Re: Factorio fatal crash report

Post by Big_J »

Pretty sure its caused by the frame_count differing between shadows and layers
Rseding91
Factorio Staff
Factorio Staff
Posts: 14355
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Factorio fatal crash report

Post by Rseding91 »

Can you please post a sample mod that when I use reproduces this crash?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Pending”