4 ms·
As I had mentioned in a previous thread that has come up recently with regards to UE5 and being open sourced, one of the greater sins of Unity is that it is mos
by troughway 6y ago
As I had mentioned in a previous thread that has come up recently with regards to UE5 and being open sourced, one of the greater sins of Unity is that it is mostly closed source.
In reading through the blogs of some of their developers, they seem to have a contrived idea that people "shouldn't have to know how it works", which, while it's a noble gesture, is bullshit because by prohibiting reading the implementation you can't know how it works anyway, whether or not you want to.
The domain model in Unity is fundamentally broken because it forces you to tie a lot of logic to a Component. People end up embedding all kinds of unrelated bits and pieces of functionality to the Camera because, well, where else are you going to specify it? This is a batshit crazy way to write software. Yet here we are.
Lastly, engines are leaky abstractions. Most software is a giant leaky abstraction as bugs and other things tend to creep up from beneath you, and knowing how something works down to the minute details is a huge advantage when it comes to not only debugging, but developing (architecture, style, optimization, whatever).
- pjmlp 6y agoUnity source code is available to anyone that actually wants to have it. It just isn't available in FOSS sense.
- thedirt0115 6y agoThis is correct, they released the source code a couple years ago under a reference license. https://blogs.unity3d.com/2018/03/26/releasing-the-unity-c-source-code/ https://blogs.unity3d.com/2018/03/26/releasing-the-unity-c-s... https://github.com/Unity-Technologies/UnityCsReference https://github.com/Unity-Technologies/UnityCsReference
- mpartel 6y agoThe reference source is pretty much useless for anything directly under namespace `UnityEngine`, because it consists mostly of forwards to C++, and the C++ was never released. At least that was the case around 2018. It might be getting better as Unity is migrating away from C++.
- squeaky-clean 6y agoThis is only the C# source code, the internals of Unity is a closed C++ codebase which you can pay $1800/yr for access to
- bionicbeagle 6y agoEspecially not in the F sense of FOSS, because unless something's changed very recently I believe you need to pay for access.
- pjmlp 6y agoSome companies think that it is only fair to pay for the work of others. I don't see an issue requiring commercial access to the source code.