Page 1 of 1

[0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 8:34 pm
by Kerolm
Running into a crash a few minutes after starting. I tried turning off all the mods (rail tanker and waterwell) with no apparent effect. It still crashes with a dialog and message "No entity prototypes are available for this building." with it kicking back out the menu.

0.002

Code: Select all

2016-07-31 16:21:52; Factorio 0.13.13 (build 23721, win64, steam)
   0.002 Operating system: Windows 10 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/John/AppData/Roaming/Factorio
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.034 Graphics options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.041 Available display adapters: 1
   0.041  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 560 Ti   {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.041 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.133 Initialised Direct3D:[0] NVIDIA GeForce GTX 560 Ti  ; driver: nvd3dumx.dll 10.18.13.5382
   0.141     Video memory size (dedicated video/dedicated system/shared system/available): 973/0/3071/4037 MB
   0.201 Desktop composition is active.
   0.379 Loading mod core 0.0.0 (data.lua)
   0.390 Loading mod base 0.13.13 (data.lua)
   0.613 Loading mod RailTanker 1.3.32 (data.lua)
   0.614 Script data.lua:18: done
   0.759 Loading mod WaterWell 1.0.13 (data.lua)
   0.913 Loading mod RailTanker 1.3.32 (data-final-fixes.lua)
   1.058 Checksum for core: 3471280900
   1.058 Checksum for mod base: 439759882
   1.058 Checksum for mod RailTanker: 886730006
   1.058 Checksum for mod WaterWell: 1198664586
  20.236 Initial atlas bitmap size is 16384
  20.240 Created atlas bitmap 16384x6397
  20.848 Created atlas bitmap 4096x972
  38.952 Sprites loaded
  38.952 Convert atlas 4096x972 to: trilinear-filtering 
  39.378 Loading sounds...
  43.031 Custom inputs active: 0
  43.118 Factorio initialised
  43.120 Game is running on selected version branch on Steam.
  49.131 Loading map C:/Users\John\AppData\Roaming\Factorio\saves\SoloModular2.zip
  49.251 Info Scenario.cpp:127: Map version 0.13.13-0
  53.073 Checksum for script C:/Users/John/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
  53.078 Checksum for script __RailTanker__/control.lua: 843196296
  53.082 Checksum for script __WaterWell__/control.lua: 1424640959
 357.842 Error MainLoop.cpp:665: Exception at tick 6509001: No entity prototypes are available for this building.

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 8:50 pm
by Oxyd
I'll need the save, please.

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 9:08 pm
by Loewchen
Possibly related: viewtopic.php?f=11&t=28598.

Did you cut the log at the end for some reason?

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 9:20 pm
by Kerolm
That is the whole log. I'll try to upload the save.

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 9:21 pm
by Kerolm
This is the game that crashes. It seems to crash regardless of mods.

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 10:27 pm
by Kerolm
Loewchen wrote:Possibly related: viewtopic.php?f=11&t=28598.

Did you cut the log at the end for some reason?
It could be the same bug, was it ever fixed and is there a workaround?

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 10:45 pm
by Loewchen
Kerolm wrote:
Loewchen wrote:Possibly related: viewtopic.php?f=11&t=28598.

Did you cut the log at the end for some reason?
It could be the same bug, was it ever fixed and is there a workaround?
It is supposed to be fixed. If you don't look for achievements you could run:

Code: Select all

/c game.forces["enemy"].kill_all_units()
once and it should at least postpone the error for some time if not fix it entirely.

Re: [0.13.13] No entity prototypes are available crash

Posted: Sun Jul 31, 2016 11:04 pm
by Kerolm
Loewchen wrote:
Kerolm wrote:
Loewchen wrote:Possibly related: viewtopic.php?f=11&t=28598.

Did you cut the log at the end for some reason?
It could be the same bug, was it ever fixed and is there a workaround?
It is supposed to be fixed. If you don't look for achievements you could run:

Code: Select all

/c game.forces["enemy"].kill_all_units()
once and it should at least postpone the error for some time if not fix it entirely.
Thank you for the tip. It unfortunately had no effect, or very little. The game still crashed shortly after loading.

Try 1: One time killing units, no effect
Try 2: Tried periodically (every minute or so) still crashed, perhaps a bit later but I don't think so.

Re: [0.13.13] No entity prototypes are available crash

Posted: Mon Aug 01, 2016 8:48 am
by posila
Kerolm wrote:
Loewchen wrote:Possibly related: viewtopic.php?f=11&t=28598.

Did you cut the log at the end for some reason?
It could be the same bug, was it ever fixed and is there a workaround?
It was fixed.

Your map has negative evolution factor, which causes the error to appear. Have you ran some commands in your map?

As a workaround for your case you can run command

Code: Select all

/c game.evolution_factor = 0.1
but if something is decreasing evolution factor (which it shouldn't), it can go to negative numbers again.

EDIT: Oh, I see your command history now!

Re: [0.13.13] No entity prototypes are available crash

Posted: Mon Aug 01, 2016 9:38 am
by Rseding91
Fixed for 0.13.14 by not allowing negative numbers through the Lua API. You'll need to set the evolution factor back to a non-negative number on your map with the console.

Re: [0.13.13] No entity prototypes are available crash

Posted: Mon Aug 01, 2016 11:58 am
by Kerolm
Thanks for the update. I'll adjust it locally for now to avoid the crash.