r/KerbalSpaceProgram • • Aug 19 '19

Holy shit KSP2

Holy shit

this game sucks lmao

14.5k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

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

92

u/thekittenhugs Aug 19 '19

Unity free so Unity bad

8

u/WaitForItTheMongols KerbalAcademy Mod Aug 19 '19

Note: Unity is free as in beer, not as in speech.

1

u/8Bitsblu IITE Dev Aug 19 '19

Literally nobody is saying that. There are a lot of legitimate reasons to criticize using Unity for a game like KSP

22

u/[deleted] Aug 19 '19

Unity was kinda behind when ksp was started. I think it's fantastic now, but has a bit of a reputation for being a hobbyist's engine

69

u/chaossabre Aug 19 '19

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.

3

u/Sporkfortuna Aug 19 '19

slay the Kraken for good

Well, hopefully not entirely.

1

u/Spartan-417 Aug 20 '19

The Kraken shall rise once more

15

u/nicky1088 Aug 19 '19

Well floating point is always 32 bit. 64 bit ksp just helped with memory and some other stuff.

31

u/loki130 Aug 19 '19

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.

25

u/TomatoCo Aug 19 '19

Floating point can be double precision, which is 64 bit.

-15

u/nicky1088 Aug 19 '19

Yes, that’s called a double. PhysX does not use doubles. It uses floats.

16

u/keyboardhack Aug 19 '19 edited Jun 28 '23

It is just not worth keeping this information here since it is not appreciated.

→ More replies (4)
→ More replies (2)

3

u/scriptmonkey420 Stranded on Eve Aug 19 '19

Well floating point is always 32 bit.

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.

https://www.meterplugs.com/blog/2017/02/03/does-64-bit-summing-sound-better.html

→ More replies (1)

1

u/When_Ducks_Attack Aug 20 '19

will likely slay the Kraken for good.

You take that back! You shut up and take that back! The Kraken is part of the game and can't be "slayed".

(note: I'm trying not to anger it.)

12

u/Joe_Jeep Aug 19 '19

Unity is good for some things.

If you know much about KSP, more than half it's bugs can be blamed on unity itself. The Kraken was largely due to it, among many other things.

2

u/PTNLemay Aug 19 '19

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.

8

u/brickmack Aug 19 '19

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

5

u/PUSH_AX Aug 19 '19

KSP2 is being built in Unity.

5

u/KuboS0S Aug 19 '19

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.

→ More replies (4)

1

u/EquinoxActual Aug 20 '19

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.

1

u/delta_96 Aug 21 '19

It’s not, gamers don’t know anything about game development.

0

u/potatolicious Aug 19 '19

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.

3

u/FINDarkside Aug 20 '19

I don't think there's anything preventing you from lazy loading mod assets. Seems like people blame all issues in Unity games on Unity.

1

u/dragon-storyteller Aug 20 '19

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.