[posila] [1.0.0] Crash with modded storage tanks: "Tile index out ouf bounds" (texture streaming)

This subforum contains all the issues which we already resolved.
User avatar
micromario
Fast Inserter
Fast Inserter
Posts: 106
Joined: Thu Apr 05, 2018 11:53 am
Contact:

[posila] [1.0.0] Crash with modded storage tanks: "Tile index out ouf bounds" (texture streaming)

Post by micromario »

I've recently made this mod
https://mods.factorio.com/mod/fluid-memory-storage

Some people have reported crashes when you connect a pipe to the unit however it works fine for most players.

Image

Here is the prototype data

Code: Select all

{
		name = 'fluid-memory-unit',
		type = 'storage-tank',
		icon = '__fluid-memory-storage__/graphics/icon/fluid-memory-unit.png',
		icon_size = 64,
		fluid_box = {
			base_area = 10000,
			pipe_covers = pipecoverspictures(),
			pipe_connections = {
				{position = {0, 2}},
				{position = {0, -2}},
				{position = {2, 0}},
				{position = {-2, 0}}
			}
		},
		two_direction_only = true,
		collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
		selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
		window_bounding_box = {{-1, -1}, {1, 1}},
		flags = {'placeable-player', 'placeable-neutral', 'hidden', 'not-selectable-in-game', 'not-blueprintable', 'not-deconstructable', 'not-flammable', 'not-upgradable'},
		pictures = {
			picture = nothing,
			fluid_background = nothing,
			window_background = nothing,
			flow_sprite = nothing,
			gas_flow = nothing
		},
		flow_length_in_ticks = 5000,
		collision_mask = {},
		selectable_in_game = false,
		remove_decoratives = 'false'
	}
Attachments
factorio-current.log
(12.28 KiB) Downloaded 153 times

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [1.0.0] Crash with modded storage tanks: "Tile index out ouf bounds" (texture streaming)

Post by posila »

Thanks for the report.
Fixed for 1.1.0.

In the meantime, you can workaround the crash by setting

Code: Select all

priority = "extra-high"
in your 'nothing' sprite definition. Or use util.empty_sprite() instead.

kudretbozkurt
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Nov 25, 2020 11:08 am
Contact:

Re: [posila] [1.0.0] Crash with modded storage tanks: "Tile index out ouf bounds" (texture streaming)

Post by kudretbozkurt »

I see the same error at 1.1.x

Post Reply

Return to “Resolved Problems and Bugs”