[0.15.x] Crash on tech screen if all techs disabled

This subforum contains all the issues which we already resolved.
Post Reply
mpratt
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Feb 14, 2017 5:28 am
Contact:

[0.15.x] Crash on tech screen if all techs disabled

Post by mpratt »

I'm writing a scenario that has a "tutorial" component to it. As part of this, I want to disable *all* technologies until they reach the point in the 'Now research some stuff' part of the tutorial, at which point I enable techs incrementally in order to limit confusion. In 0.14 this was possible, but porting it to 0.15, attempting to open the tech screen with all tech disabled causes a game crash.

Steps to reproduce:
* Open scenario which disables all techs.
* Open tech screen: Game crashes.
* Until you open tech screen, game seems to play properly.

* Open game & scenario again.
* Use cheat to enable at least one tech.
* Open tech screen: Behaves as expected.

* Rewrite scenario to disable all *but one* tech
* Game (including tech screen) operates normally.

If you don't want to support all techs to be disabled, I'd understand that decision, but it probably should be validated at startup time rather than crashing during play.

Loewchen
Global Moderator
Global Moderator
Posts: 8320
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.15.x] Crash on tech screen if all techs disabled

Post by Loewchen »

Post the log, see my signature.

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

Re: [0.15.x] Crash on tech screen if all techs disabled

Post by Rseding91 »

Thanks for the report. The crash is now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”