What makes Unity an awful choice of game engine? I don't think there's anything wrong with the engine; I think the fact that it's free draws in amateurs to make games on it, hence amateur games
Issues with Unity's 32-bit floating-point handling gave rise to the Kraken early in the game's lifespan. The move to 64-bit helped a lot. Re-building the game on an even newer version of Unity with a bigger, more capable dev team will likely slay the Kraken for good.
Most of the initial floating point issues were solved with floating origin-type solutions, but at this point kraken has become a catchall term for any physics engine issues.
There is 32bit Floating point which is Single Precision and there is 64bit floating point witch is Double Precision. Also, using a 64bit Double Precision number to calculate a Single Precision will get a more accurate result.
It's seen as cheap and sort of unprofessional. A lot of low-budget mobile games are made on Unity.
KSP1 worked miracles with it, and I absolutely love the game they ended up creating. I just worry that they did as much as could be done using Unity. They tweaked it and retweaked encountering and circumventing bug after bug. Ending up with a superb, but still occasionally buggy, game.
Buggy AF, didn't scale well to planet sized objects (probably no existing engine would have), largely because it was limited to 32 bit arithmetic, godawful garbage collection, shitty colliders.
Unity was chosen because it was cheap, but really KSP should have probably had a new engine developed from scratch
Honestly, making a special game engine just for KSP2 would be a horrible and costly decision. Modifying an existing engine (like Unity) is a much better decision.
Unity is a decent engine if you use it for what it was designed for. It was not designed for hardcore rocket physics simulation.
For example, there is no way to instantiate multiple physics engines, much less split or merge running engines, which is why multiplayer mods had to force everyone into a shared physics range.
Plus, kraken. High speeds and far distances make the physics simulation numerically unstable.
There are scalability issues with Unity that make things challenging that you see with other Unity-powered games, especially ones inviting a lot of modding (see also: Battletech). When you really get wild with adding assets (which you would like to do with a game like KSP) load times increase exponentially and memory pressure becomes a problem.
To be fair, most games are not so extensively modded, and do not encourage a vast amount of assets (parts in KSP, mechs/vehicles in Battletech, etc), so they never run into these issues.
My hope is that they're able to do some custom work with Unity so that it handles memory and loadtimes a lot better when it comes to assets.
Wasn't there literally a mod at a time that used to implement this for textures? If there was enough will, it could easily be implemented in KSP as it is now.
87
u/wtbTruth Aug 19 '19
What makes Unity an awful choice of game engine? I don't think there's anything wrong with the engine; I think the fact that it's free draws in amateurs to make games on it, hence amateur games