[0.16.51] Game crashes if you press Enter near too many cars

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
beiju
Inserter
Inserter
Posts: 42
Joined: Thu Feb 02, 2017 3:52 pm
Contact:

[0.16.51] Game crashes if you press Enter near too many cars

Post by beiju »

In a mod I made a car entity with no collision mask and spawned 3,000 of them on top of each other (for a reason, I swear). I pressed Enter, just to see what would happen, and the game crashed.

I didn't save the version of the code that crashed because I wasn't planning to report what a dumb thing I did, but people suggested I report it anyway. If necessary I can re-create the mod that caused it.

beiju
Inserter
Inserter
Posts: 42
Joined: Thu Feb 02, 2017 3:52 pm
Contact:

Re: [0.16.51] Game crashes if you press Enter near too many cars

Post by beiju »

Since I saw you couldn't reproduce it on stream, maybe it's to do with the prototype of the car I used, which has no collision mask

Code: Select all

local test_marker = {
    type = "car",
    name = "test-marker",
    collision_mask = {},
    selection_box = {{-1.5, -1.5}, {.5, .5}},
    minable = {mining_time = 0},
    flags = {"not-repairable", "not-on-map", "not-blueprintable", "not-deconstructable", "placeable-off-grid"},
    time_before_removed = 60 * 10,
    final_render_layer = "lower-object",
    splash_speed = .5,
    splash = {
        {
            filename = "__ProofOfConcept__/graphics/fading_arrow_orange.png",
            line_length = 7,
            width = 64,
            height = 64,
            frame_count = 14,
        }
    },
    
    weight = 1,
    braking_force = 1,
    friction_force = 1,
    energy_per_hit_point = 1,
    animation = data.raw.car.car.animation,
    effectivity = 1,
    consumption = "1kW",
    rotation_speed = 1,
    burner = data.raw.car.car.burner,
    inventory_size = 1,
}


beiju
Inserter
Inserter
Posts: 42
Joined: Thu Feb 02, 2017 3:52 pm
Contact:

Re: [0.16.51] Game crashes if you press Enter near too many cars

Post by beiju »

I attached a simplified version of the mod and a save game with too many cars (spawned by command). When I load this save and hit enter, I get the crash whose log is also in that zip file.
Attachments
car-crash.zip
(1.85 MiB) Downloaded 91 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.51] Game crashes if you press Enter near too many cars

Post by Rseding91 »

Thanks for the report however I can't reproduce the crash.

Based off the crash log it looks like it ran out of video memory after you entered the car.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Pending”