• Advertisement
Sign in to follow this  

Unity Is hatred for unity justified?

This topic is 1400 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm currently going to school for programming, and my 3d graphics teacher absolutely hates unity. He complains about how he can always tell when a game was made with unity because the load times will be huge for small things and he will think to himself, "That shouldn't have taken that long." Another complaint of his is that it does everything for you and thus leads to incredibly generic games. I rather like unity, as it allows me to wip up a game fairly quickly without having to worry about first making a framework, but I must admit hearing his hate for it does spark a bit of fear in me, in the long run if my productions do get bigger, despite unity's ease of use, will it harm my product in the end, or is that entirely dependent on the user? If my fundamentals of coding are strong enough does it's easy workflow still come with a price or is it just as efficient as any other engine or is my teachers hate for unity justified?

Share this post


Link to post
Share on other sites
Advertisement

He does have a point about the initial loading time, even for small scenes. A lot of companies create their own scene exporters in order to create their own loading pipeline.

 

The type of games made in Unity is often a simple physics based platformer. This is because Unity is an amazing tool for creating that kind of games, but no. Just because Unity is inviting (and to some extend does all the work for you) to make that kind of games it doesn't mean you have to create the game like that. A "mistake" a lot of people do is to make their games too physics based, because it is so easy. So to some extend I understands what he is saying, but there are tons of games not like that.

 

No I don't think his hate for Unity is justifiable. If you care about tech then maybe yes, but if you care about games then no.

 

Related: http://blogs.unity3d.com/2012/04/01/semantic-game-builder-interface-to-be-integrated-into-unity/

Share this post


Link to post
Share on other sites

He does have a point about the initial loading time, even for small scenes. A lot of companies create their own scene exporters in order to create their own loading pipeline.

 

The type of games made in Unity is often a simple physics based platformer. This is because Unity is an amazing tool for creating that kind of games, but no. Just because Unity is inviting (and to some extend does all the work for you) to make that kind of games it doesn't mean you have to create the game like that. A "mistake" a lot of people do is to make their games too physics based, because it is so easy. So to some extend I understands what he is saying, but there are tons of games not like that.

 

No I don't think his hate for Unity is justifiable. If you care about tech then maybe yes, but if you care about games then no.

 

Related: http://blogs.unity3d.com/2012/04/01/semantic-game-builder-interface-to-be-integrated-into-unity/

 

Are people actually using the built in editor and scene system for anything beyond prototyping or small games ?

For pretty much any reasonably large project you'll be far more productive with a more specialized system.

Share this post


Link to post
Share on other sites

Saying Unity is slow is for most non-bad designed games ****shit.


I'm trying (and failing) to figure out what you censored with **** that was so bad you had to nix it.

Share this post


Link to post
Share on other sites

Parts of Unity are incredibly frustrating. Serialization is poorly documented and is inconsistently implemented, the GUI sucks, and the editor can get out of hand quickly with large projects.

 

However, It is rather strange that your game dev teacher is talking about unity from the perspective of a player when your teacher is a developer yes?

Also, before GDC with UE4 and CryEngine, consider what options you had before unity? They were far and few between, and Unity sure beats writing your OWN engine.

 

Now of course this could limit you if your game doesn't fit well with what Unity provides. There is a statement that is made often on these forums "Make games, not engines". products like unity exist so that small teams or possibly 1 person that works their ass off can actually make a decent 3d game.

Share this post


Link to post
Share on other sites

The only problem I have with Unity is actually in mono - the AOT compiler for iOS is utter shit when you're trying to do anything interesting with generic interfaces (like, you know, IEnumerable<T>).  I don't see any possible excuse for why they can't just use runtime type info like .Net does.

 

Other than that and their crappy documentation, Unity is the best experience I've had in my entire professional game development career.

Edited by Nypyren

Share this post


Link to post
Share on other sites

So, what games has your professor made?

 

This, a thousand times.

 

"Faster" can have more than one meaning. Faster to write (productivity) and faster to finish (time to market) are very important, even more so when initial load times and runtime performance aren't critical issues. Shipping is a feature.

Share this post


Link to post
Share on other sites


In the worst case you could get your project 99% done but then hit for example some bad memory leak you aren't quite able to work around, and then you would just have to wait for an update and hope it improves things. I've seen this in context of a multiplayer server built from the same Unity project as the game client; in this case the server would always exhaust the memory and crash after running for some hours, but this was more than one year ago and I'm quite sure improvements have happened since.

 

Yes, I've seen this before. I got pulled in to help with a project. He had completed the game with a Unity style IDE and tried to publish it for the 360. The game ran for four minutes, then crashed.

 

He had bought a none source code licence for Torque, so he was completely stuck. If all you have is the IDE and the engine as DLL's, it is very easy to end up in this situation. Dog Food is a very good test.

 

In the end he had to pay 10 times more to get the source code licence, (plus the cost for me to work on it) and I sat down and debugged Torque.

 

They were creating a new canvas for every screen update. The system very quickly used up all the memory and triggered garbage collections. The garbage collector couldn't cope and soon went bang.

 

Easy fix, but it just proves that the developers had never played a game for more than 4 minutes. Dog Food, I really like that as a concept.smile.png 

Share this post


Link to post
Share on other sites

 


In the worst case you could get your project 99% done but then hit for example some bad memory leak you aren't quite able to work around, and then you would just have to wait for an update and hope it improves things. I've seen this in context of a multiplayer server built from the same Unity project as the game client; in this case the server would always exhaust the memory and crash after running for some hours, but this was more than one year ago and I'm quite sure improvements have happened since.

 

Yes, I've seen this before. I got pulled in to help with a project. He had completed the game with a Unity style IDE and tried to publish it for the 360. The game ran for four minutes, then crashed.

 

He had bought a none source code licence for Torque, so he was completely stuck. If all you have is the IDE and the engine as DLL's, it is very easy to end up in this situation. Dog Food is a very good test.

 

In the end he had to pay 10 times more to get the source code licence, (plus the cost for me to work on it) and I sat down and debugged Torque.

 

They were creating a new canvas for every screen update. The system very quickly used up all the memory and triggered garbage collections. The garbage collector couldn't cope and soon went bang.

 

Easy fix, but it just proves that the developers had never played a game for more than 4 minutes. Dog Food, I really like that as a concept.smile.png

 

Good one c:

Though in this story there is unclear to me why garbage collector "couldn't cope" could you maybe explain?

Share this post


Link to post
Share on other sites


Though in this story there is unclear to me why garbage collector "couldn't cope" could you maybe explain?
I've had a similar problem with Lua on consoles. The frame-time budget was 33ms (30 frames per second). The game systems were taking about 15ms and the render systems about 15ms. The garbage collection all by itself would sometimes take 8ms! That's a total of 38ms (26fps, or 20fps if vsync is on).

 

We were in control of our engine, so we first fixed it by putting a limit on the amount of time that the garbage collector could run each frame. We limit it to 2ms per frame, and now the framerate is always perfect 30fps!

 

However, now, sometimes garbage builds up... If the GC would've run for 8ms, but we only let it run for 2ms, which means that we only cleaned up 25% of that frame's garbage -- 75% of that frame's garbage is left for the next frame to deal with!

Next frame, it generates another 100% of a frame's garbage, cleans up 25% of it, but leaves another 75% for the next frame to deal with, for a total of 150% of a frame's worth of garbage lying around.

Very quickly, your run out of RAM and crash...

 

The solution here was to rewrite all the Lua code to be extremely careful about when it generated garbage...

 

Generally on a PC, you can pretend that you've got "unlimited" RAM (especially on x64), because virtual memory kicks in, and only the memory that you're actually using is stored in RAM. Any bits of memory that you haven't used for a long time get moved to your hard-drive.

Consoles don't do this -- so if you run out of RAM, your game crashes.

Share this post


Link to post
Share on other sites
Keep in mind that without even talking about Unity in particular that usually the more generalized an engine is the more it suffers in other areas. For instance you could probably make an MMO or something with an engine like source(vindictus certainly tried) but in the end the engine was designed mainly for games like half life, and optimizations or even code design are targetted towards one area. Unity is sort of in the rough FPS area, but works for other games, and as they add more generic implementations of things you start getting very.. "well I can't really optimize this Mr. Programmer because I'm not sure if you might try to do -this- next!" sort of things. The example of companies being more direct with their own asset loading is a good example of pulling out a part of the engine and making it more -specific- to your goals in order to get better performance.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Tags

  • Advertisement
  • Popular Now

  • Similar Content

    • By NDraskovic
      Hey guys,
      I have a really weird problem. I'm trying to get some data from a REST service. I'm using the following code:
       
      private void GetTheScores() { UnityWebRequest GetCommand = UnityWebRequest.Get(url); UnityWebRequestAsyncOperation operation = GetCommand.SendWebRequest(); if (!operation.webRequest.isNetworkError) { ResultsContainer rez = JsonUtility.FromJson<ResultsContainer>(operation.webRequest.downloadHandler.text); Debug.Log("Text: " + operation.webRequest.downloadHandler.text); } } The problem is that when I'm in Unity's editor, the request doesn't return anything (operation.webRequest.downloadHandler.text is empty, the Debug.Log command just prints "Text: "), but when I enter the debug mode and insert a breakpoint on that line, then it returns the text properly. Does anyone have an idea why is this happening?
      The real problem I'm trying to solve is that when I receive the text, I can't get the data from the JSON. The markup is really simple:
      [{"id":1,"name":"Player1"},{"id":2,"name":"Player2"}] and I have an object that should accept that data:
      [System.Serializable] public class ResultScript { public int id; public string name; } There is also a class that should accept the array of these objects (which the JSON is returning):
      [System.Serializable] public class ResultsContainer { public ResultScript[] results; } But when I run the code (in the debug mode, to get any result) I get an error: ArgumentException: JSON must represent an object type. I've googled it but none of the proposed solutions work for me.
      Also (regardless if I'm in the debug mode or not) when I try to do some string operations like removing or adding characters to the GET result, the functions return an empty string as a result
      Can you help me with any of these problems?
      Thank you
    • By nihitori
      The Emotional Music Vol. I pack focuses on beautiful and esoteric orchestral music, capable of creating truly emotive and intimate moods. It features detailed chamber strings, cello and piano as the main instruments, resulting in a subtle and elegant sound never before heard in video game royalty-free music assets.

      The pack includes 5 original tracks, as well as a total of 47 loops based on these tracks (long loops for simple use and short loops for custom / complex music layering).

      Unity Asset Store link: https://www.assetstore.unity3d.com/en/#!/content/107032
      Unreal Engine Marketplace link: https://www.unrealengine.com/marketplace/emotional-music-vol-i

      A 15 seconds preview of each main track is available on Soundcloud:
       
    • By RoKabium Games
      Another one of our new UI for #screenshotsaturday. This is the inventory screen for showing what animal fossils you have collected so far. #gamedev #indiedev #sama
    • By eldwin11929
      We're looking for programmers for our project.
      Our project is being made in Unity
      Requirements:
      -Skills in Unity
      -C#
      -Javascript
      -Node.js
      We're looking for programmers who can perform a variety of functions on our project.
      Project is a top-down hack-and-slash pvp dungeon-crawler like game. Game is entirely multiplayer based, using randomized dungeons, and a unique combat system with emphasis on gameplay.
      We have a GDD to work off of, and a Lead Programmer you would work under.
      Assignments may include:
      -Creating new scripts of varying degrees specific to the project (mostly server-side, but sometimes client-side)
      -Assembling already created monsters/characters with existing or non-existing code.
      -Creating VFX
      -Assembling already created environment models
      If interested, please contact: eldwin11929@yahoo.com
      This project is unpaid, but with royalties.
       
      ---
      Additional Project Info:
      Summary:
      Bassetune Reapers is a Player-verus-Player, competitive dungeon crawler. This basically takes on aspects of dungeon crawling, but with a more aggressive setting. Players will have the option to play as the "dungeon-crawlers" (called the 'Knights', or "Knight Class", in-game) or as the "dungeon" itself (literally called the 'Bosses', or "Boss Class", in-game). What this means is that players can choose to play as the people invading the dungeon, or as the dungeon-holders themselves.
      Key Features:
      -Intense, fast-paced combat
      -Multiple skills, weapons, and ways to play the game
      -Tons of different Bosses, Minibosses, creatures and traps to utilize throughout the dungeon
      -Multiple unique environments
      -Interesting, detailed lore behind both the game and world
      -Intricate RPG system
      -Ladder and ranking system
      -Lots of customization for both classes s of customization for both classes
    • By RoKabium Games
      Custom coffee mugs have arrived... More caffeine!
      Have a great weekend everyone! 
      #gamedev #indiedev #sama #caffeine
  • Advertisement