Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Why Unity does not have open source code like Unreal Engine?

Discussion in 'General Discussion' started by ButterflywareGames, Jan 10, 2017.

  1. ButterflywareGames

    ButterflywareGames

    Joined:
    Sep 30, 2016
    Posts:
    2
    Just asking. I am curious.
     
  2. Adam-Sowinski

    Adam-Sowinski

    Joined:
    Oct 25, 2013
    Posts:
    129
    Not every game engine gives you access to source code by default. Unity doesn't so is Autodesk with Stingray. It is a business/legal decision I guess. You can get the source code access upon additional fee if you are a Pro subscriber.

    Having said that lots of Unity's high level systems implementations are open sourced.
     
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Because they don't want too.

    That's about all it comes down to.
     
  4. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Do you have extensive modifications you'd like to implement in the engine? Are you trying to add platform support for something that doesn't exist, or implement your own lighting engine or something?

    Why do you want the engine to be open source?
     
  5. ZJP

    ZJP

    Joined:
    Jan 22, 2010
    Posts:
    2,649
    No. Just the will to start a new controversy with your first message.
    Stay will Unreal and have a nice year.
     
    chiapet1021 and dehdar like this.
  6. dehdar

    dehdar

    Joined:
    Sep 1, 2016
    Posts:
    51
    I agree but isn't that as good of a reason as any... :D
     
  7. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    Oh, geez. I just realized you're one of my favorite iOS developers, behind some of my favorite titles like:

    Miami Racing: Furious muscle cars 2 Fast speed for no limits and asphalt legacy

    and

    The Dead Town of Walking Zombies - Advanced Assault Warfare Strike

    SEO hackery at its finest!
     
  8. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    I assume that cause Unity uses a lot of middleware they have a special low cost licenses which each one. If they would have the code open to anyone it would probably increase the costs or might be legally impossible in some cases. The source code access they provide probably seals the deal with all of the middleware authors and covers the license cost changes in regards of code accessibility.

    Note that Epic removed all middleware from Unreal 4 to have source available and you have to license everything yourself if you are not happy with the stock features. It's also not open source since it's not openly available and requires user to be bound to their license agreement terms.
     
  9. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    Their software, their rules. That's all there is to it.

    Also, UNreal is NOT opensource. If think it is opensource, be ready for a visit from epic games lawyer team backed by epic games sniper team. Epic games is not the company you want to mess with.
     
    zombiegorilla and wccrawford like this.
  10. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    They say here that the "Code is copyrighted but knowledge is free!".

     
  11. wccrawford

    wccrawford

    Joined:
    Sep 30, 2011
    Posts:
    2,039
    Yes. But nowhere do they say that it is "open source". That term has implied meaning and they are not releasing their code to be used for anything except their engine and games made with it.
     
  12. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    Neither do I; people reading too fast did and people who don't want to hear otherwise repeat and spread the false news.
     
  13. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    They also say:
    https://www.unrealengine.com/eula
    Basically, this is a proprietary license created in such way that epic game can keep track of people using their source. In case of violation of any part of EULA they can cut off your source code access.

    Also, see this thread:
    https://forum.unity3d.com/threads/u...ap-from-unreal-engine-4k-native-video.447954/
     
    Ryiah and Ostwind like this.
  14. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    Why do you say "my" code? I'm not using Unreal and I'm perfectly aware that it's not open source.

    Anyway, how many people actually read the EULAs and Users' agreements? The people who claim that Unreal Engine is open source certainly didn't.

    By the way, it's probably the same kind of terms that apply to Unity's full code when It's made available to pro users.
     
  15. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,328
    I said "your code access", not "your code". And "you" did not refer to "you specifically".

    Anyone who is serious about publishing anything made with either engine would read the whole thing.
     
  16. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    I'm pretty sure neg meant "your" in the general sense. Not you specifically.

    I've ready Unity's Terms of Service / Licensing Agreement. It's actually not that long, and is super important if you actually want to create a game and release it in accordance with all applicable laws and such.
     
  17. Tusk_

    Tusk_

    Joined:
    Jan 1, 2017
    Posts:
    205
    In 2007, Silicon Knights sued Epic Games for failure to "provide a working game engine", causing the Ontario-based game developer to "experience considerable losses."

    On August 9, 2007, Epic Games counter-sued Silicon Knights, claiming that they were using its engine without paying royalties.[11] On May 30, 2012, Epic Games defeated Silicon Knights' lawsuit, and won its counter-suit for $4.45 million on grounds of copyright infringement, misappropriation of trade secrets, and breach of contract

    On May 16, 2014, following the loss of the court case, Silicon Knights was sued until it filed for bankruptcy


    AAAAAAAAAAAAAAAAAAAAAAAAHAHAHHAHAHAHAH

    AHAHHAHAHAHAHAHAHAHAAHAHAHAHAHHAHAHAHAHAHAHAHAHAHHA

    HAHAHAHAHAHHAHAHAHAHAHAHAHHAHAHAHA

    So a bunch of dishonest losers at Silicone Knights tried to deliver an Epic Lawsuit to Epic Games but instead it was an Epic Fail?

    I am surprised they didn't blame EPIC for a lack of dark theme or orange theme as a result as to why they couldn't finish their game.

    ok ok I just had to, love when Karma is working.

    Back to making my game now you people stop disturbing me with such hilarious and awesome articles
     
    Last edited: Jan 10, 2017
  18. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    That's not even close to an accurate statement. It's a lot more complicated than your summary suggests. Silicone Knights was composed of a lot of respectable industry veterans. They had a dispute with Unreal, and Unreal won.

    I'm not sure why an aspiring game developer would ever celebrate the business failings, collapse, and full-termination of a professional development studio. It was a really sad event (that as I recall, was punctuated by a number of other promising and long-time studio closings around the same period), not the least of reasons because all of the employees who had nothing to do with licensing decisions and usage details lost their jobs because of the whole thing.
     
    landon912 and theANMATOR2b like this.
  19. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,386
    Probably because they spend a lot of time making a product that makes your life as easy as possible. If you needed source, they likely feel like they're doing it wrong.
     
  20. Tusk_

    Tusk_

    Joined:
    Jan 1, 2017
    Posts:
    205
    It looked like a case of dishonest people trying to scam Epic Games, that is from the wikipedia link he posted. Which ultimately resulted in EPIC winning instead, then we found out they broke every rule in the book. This is VERY clear in the judgement.

    Unless EPIC games secretly bribed the Judge I would assume the judgement made here was correct. I am going based on what the Judge ruled, and there are MANY dishonest "professional and respectable people" in the game industry so don't even try that.

    And there are many douche bags in the "Professional" industry I have been scammed by big AAA and Indie companies as a consumer and I was very happy to see S2 Games go bankrupt after they stole $500 USD from me and deleted my HON account and there was nothing I could do about it I asked for a refund of my $500 and I was denied they then blocked me and the bank in my country could not recover the money even to this day and mind you S2 was very "respectable" in scamming people.They ultimately sold HON to garena and tried to scam even more people with Savage Resurrection which ultimately resulted in an epic fail and we all celebrated on the steam forums

    So yes I do take pleasure in seeing evil and dishonest people or studios fall regardless of what I aspire to be.

    Did that mean every employee of S2 Games were evil scamming douche bags? nope but I was very pleased to witness them going bankrupt after Savage Resurrection Failed, it meant that people did not forget who they really were, people remembered well and the word got out to avoid them at all costs.

    Not to mention how S2 also tricked developers to create Strife and then fired everyone as soon as Strife came out of the door they then stole all the money and ran and abandoned you guessed it yet another game.

    Does it mean all the people were bad? nope but the death of S2 was the best thing as it put a stop to them scamming innocent people who believed in them because they were actually an established and trusted company
     
    Last edited: Jan 10, 2017
  21. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,510
    I've no idea what basis you have for calling Denis Dyack and his team "evil." They had a dispute with a large company over software features, timelines, and licensing usage. The courts ruled in favor of the company with the better lawyers, as almost always happens. You have a very high opinion of the judicial system to believe that it's entirely fair and always rules on the basis of what's right rather than what's technically legal. That, or you're naive.

    I'm sorry you had an unpleasant experience with S2 Games, but I don't see what that has to do with anything here. Though you don't seem to have a good understanding of how real-world development works from your secluded position on your tropical island, so I suppose it should be forgiven.
     
  22. Tusk_

    Tusk_

    Joined:
    Jan 1, 2017
    Posts:
    205
    Yes I am not familiar with Judicial systems out of my small country, so I could be mistaken by going with the judgements from first world countries I only assume the Judge was fair but again as you say the system is not always fair but probably as good as it can get compared to many other places.

    Yeah I try not to think about what happened with me and S2 after I had been a very long supporter of them as an Indie Company it was quite heart breaking but I learned from that point on that you cannot trust anybody, be it developers or pretty much anyone lots of dishonest people out here even in this industry. which is why when I read cases like this in the courts and the Judge delivers what I hope should have been the faith of S2 Games I immediately gave the Judge the benefit of the doubt.
     
  23. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,150
    The actual court document left me with a very different impression. Especially the following section where it mentions they had integrated a portion of the Unreal 3 engine code into their own engine and then attempted to disguise it. I don't feel like reading through the entire document but I don't believe this is simply a case of the best funded lawyers winning.
    http://www.leagle.com/decision/In FDCO 20121126554/SILICON KNIGHTS, INC. v. EPIC GAMES, INC.

    By the way my initial search for the court documents was due to Giantbomb having mentioned the theft of code.

    http://www.giantbomb.com/articles/why-silicon-knights-vs-epic-games-is-probably-over/1100-4839/

    If I'm misinterpreting anything lemme know. It wouldn't be the first time. :p
     
    Last edited: Jan 10, 2017
    Dustin-Horne and ScoobyNooby like this.
  24. Tusk_

    Tusk_

    Joined:
    Jan 1, 2017
    Posts:
    205
    ^ "Silicon Knights even failed to remove or correct typographical errors Epic Games's programmers had made in those comments. See Def.'s Ex. 2383D."

    Reminds me of a guy when I was in school who copied his assignment from a flash drive he stole and then passed it off as his own, he even copied the other guy's student ID number. LOL
     
    Ryiah and ScoobyNooby like this.
  25. BornGodsGame

    BornGodsGame

    Joined:
    Jun 28, 2014
    Posts:
    580
    Don´t laugh, this happens is politics too.

    A congresswoman from Florida was given ´a bill´ by a large lobbying firm who supported her during her campaign. The idea was that she was to write a bill based on the documents they gave her. Being lazy, she just submitted ´the bill´ to congress, complete with the instructions on how she was supposed to make changes to make ´her bill´ and including letterhead and mission statements from the lobbying firm... all of which was duplicated and distributed to the entire Florida congress.
     
    Dustin-Horne likes this.
  26. NoUJoe

    NoUJoe

    Joined:
    Mar 7, 2014
    Posts:
    30
    lol
     
  27. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    1,244
    Jesus, those titles don't even fit on my phone screen!
     
  28. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,000
    didnt see if there was newer topic.. but whats this : o
    https://github.com/Unity-Technologi...content/ecs_principles_and_vision.md#packages

    "We want the majority of our engine code to be written in C# and deployed in a Package. All source code is available to all Unity Pro customers."

    "For those in the community that want to contribute engine code, we aim to make that easy by working directly on the same code repositories that contributors can commit to as well. Through well defined principles and full test coverage of all features, we hope to keep the quality of contributions high as well.

    The source code repositories will be available for all Unity Pro Customers."
     
    scvnathan likes this.
  29. friuns3

    friuns3

    Joined:
    Oct 30, 2009
    Posts:
    307
    there is a lot bugs on c++ source code side that nobody can fix and need wait next patch and hope for the fix. Our company stuck at 5.4.4p4 version because of that. I think its biggest disadvantage to unreal engine

    do you mean if i pay 125$/mo i get full c++ source code?
     
    Last edited: Apr 3, 2018
    Lu4e likes this.
  30. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,987
    No. You have to an enterprise customer, and access to the source is an additional cost.
     
  31. Lu4e

    Lu4e

    Joined:
    Mar 23, 2018
    Posts:
    276
    You are not alone, I was thinking the same since Unity 5.
    Because user are not allowed to compile the engine without license, I do a work around in game dev to avoid pitfall.
    By the way, have you tried 5.6.5p3?

    Also take a look in 2018 beta, my friend. I guess Unity is currently paying the most focus and effort to it.
    The new job system syntax and compiler improve the overall performance, this immediately catches my eye to it.

    I truly understand this pain, hope your company will get through this soon.
     
  32. FMark92

    FMark92

    Joined:
    May 18, 2017
    Posts:
    1,244
    Which could be hundreds of thousands of dollars a year depending on your place in the industry, if anyone is wondering.
     
    Kiwasi and zombiegorilla like this.