[14.22] Game freeze when opening menu

This subforum contains all the issues which we already resolved.
Edeholland
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Feb 12, 2017 2:44 am
Contact:

[14.22] Game freeze when opening menu

Post by Edeholland »

Hello, recently I got a bug, I'm not sure if it's this version, I think I messed something up when entering a very long string into a field.

Sometimes, when I click on an item and a menu opens, the game freezes and I see a code.Image

I think I might have overflowed some character field with this long string, but I have no idea why it keeps popping up in random screens, not the one where I pasted it. Also, I already restarted the game lots of times (I have to when it freezes) so it's not a temporarily thing.

I haven't seen it here yet so I wonder what this is and if there is an solution
Edeholland
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Feb 12, 2017 2:44 am
Contact:

Re: [14.22] Game freeze when opening menu

Post by Edeholland »

I did more research. Every time I hover over the item with the long name (it's a blueprint), the game crashes.

I think the problem is: too long name string causes game to crash when the name has to be displayed (some overflow?)
I think a solution could be: restricting names to a certain length
Rseding91
Factorio Staff
Factorio Staff
Posts: 16014
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [14.22] Game freeze when opening menu

Post by Rseding91 »

Can you upload the save file with the weird named item?
If you want to get ahold of me I'm almost always on Discord.
Edeholland
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Feb 12, 2017 2:44 am
Contact:

Re: [14.22] Game freeze when opening menu

Post by Edeholland »

I'm sorry, I had to sleep for a few hours. I will continue Factorio now.

I attached the save file. I put the item in a box (I could do this by using ctrl, so I would not have to hover over the item :D )

It's a blueprint item, I think I tried to paste a blueprint string into the name field?

Image
Attachments
edeholland.zip
(5.05 MiB) Downloaded 68 times
Loewchen
Global Moderator
Global Moderator
Posts: 10319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [14.22] Game freeze when opening menu

Post by Loewchen »

Edeholland wrote: It's a blueprint item, I think I tried to paste a blueprint string into the name field?
Pretty sure you did
Edeholland
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Feb 12, 2017 2:44 am
Contact:

Re: [14.22] Game freeze when opening menu

Post by Edeholland »

Your computer can handle it :shock:

Anyways, is this worth a fix or not? I think I surely am not the first nor the last one to do this by accident.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16014
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [14.22] Game freeze when opening menu

Post by Rseding91 »

I'll just limit the name field to some smaller amount - 500 characters or something.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”