Hi fellow Brewers!
So a new update is just around the corner. I'm hoping to have it out this weekend if all testing goes well. This update will address some major issues that some people were having. Mainly dealing with saving and loading. I'll explain a bit more technically a little further down. But hopefully this will resolve the saving game endless loop and startup issues.
Technical Stuff:
I initially created a parser for each object that handled the saving and loading on a per-object level. A bottom up approach. This left a lot of room for error. It was quick and simple at the time but as the game grew, it could cause a lot of edge case problems. The new universal system will take in info form an object and format and parse on a global level. A more top down approach. I wanted to change it one day, didn't realize that It was needed asap. But I'm glad it's done now because this means a lot less likely there will be game resets in the future since it's very dynamic!
The other thing I've put in will hopefully fix the endless startup issue. What I believe was happening was the system I created to read in assets was having the same parsing issue the save/load system was having. All ingredient, tools, and other in-game objects are saved in Unity's addressables system. On startup, the game creates a library of these addressable objects with their parameters such as price, needed popularity, and what not. I did this so in the future, modders can easily drop in their objects into the appropriate folders and the system could handle the rest. Apparently for some people the game isn't parsing this library info correctly. So to correct this for now, I'm adding a system that if/when the library can't load from the game's folders, the game will default to a hard coded prefab version of this library. It will be a temp fix for now but at least it's a fail safe method.
Once again I'm hoping to have this out by this weekend so keep an eye opened. Once this update is out, I can start working on the fun stuff like new systems, new machines, and much much more!
Thanks again to all of you for supporting the game!
Happy Brewing!
-Vertnacular
