Page 1 of 1

Error on file: LayoutPlan.cpp

Posted: Sat May 12, 2018 6:30 pm
by cubastromek
Hi guys,


so I bought Subsidaries DLC and played it for a while when suddenly got this error

Error on file: LayoutPlan.cpp
Line: 82


And then the game crashes....

I happens when I try set up new production in my subsidary company :/

Any hints?

Re: Error on file: LayoutPlan.cpp

Posted: Sat May 12, 2018 6:58 pm
by David
We will investigate the problem.

Could you please provide us with your save game file and let us know the following?
1) Which version of Capitalism Lab you are using. You can see the version number on the top-right of the main menu.
2) The exact steps for triggering the bug with the save game
3) If your savegame uses a MOD, please let us know the name of the MOD and the MOD's version number.

You can find save game files of Capitalism Lab from the C:\Users\<your user name>\Documents\My Games\Capitalism Lab\SAVE

You may provide us with your save game file by posting it here on the forum as a ZIP file attachment or emailing the save game file to us at info@enlight.com.

Re: Error on file: LayoutPlan.cpp

Posted: Sat May 12, 2018 7:40 pm
by cubastromek
Thank you very much!

1) 5.4.08
2) Crash ocurs when I try to setup a new prodcution in a factory owned by my subsidary company
3) no mods

Re: Error on file: LayoutPlan.cpp

Posted: Sat May 12, 2018 8:22 pm
by David
Could you please provide us with your save game file?

As for the new factory production, which product did you try to set up the production for?

Re: Error on file: LayoutPlan.cpp

Posted: Sun May 13, 2018 6:28 am
by cubastromek
As for the production type....I tried to setup a computer factory (you can see on the screenshot).

Re: Error on file: LayoutPlan.cpp

Posted: Sun May 13, 2018 7:43 am
by David
I loaded your save game but I didn't find any subsidiary companies in your game. So I went ahead and set up a new subsidiary and then set up a factory with a computer production layout. It went fine without any crashes.

To investigate this problem further, please send me a save game with a subsidiary company and let me know the exact name of the factory that you want to set up a production for.

Also, did you use the Manufacturer's Guide or the Layout Plan Library for setting up the computer production?

Re: Error on file: LayoutPlan.cpp

Posted: Sun May 13, 2018 5:41 pm
by cubastromek
Sorry...sending the right save file.

So, would you kinldy try to setup another large factory producing computers next to one producing CPUs??

I stripped CEO of subsidary company of all the rights so he cant do anything basicly. Maybe that is the problem?

Re: Error on file: LayoutPlan.cpp

Posted: Sun May 13, 2018 6:54 pm
by David
We will look into the problem and fix the bug in the next patch.
I stripped CEO of subsidary company of all the rights so he cant do anything basicly. Maybe that is the problem?
In the meantime, you could assign the right of producing computers back to the CEO to get around this bug.

Re: Error on file: LayoutPlan.cpp

Posted: Tue May 15, 2018 4:22 am
by cubastromek
Thank you ;)