Guns Of Icarus Online

Main => General Discussion => Topic started by: Typhi on October 01, 2014, 01:47:54 pm

Title: Will Guns of Icarus Unity 5?
Post by: Typhi on October 01, 2014, 01:47:54 pm
Will Muse games make the switch to Unity 5 for Guns of Icarus? :) I think 64 bit would come in handy for the Adventure Mode :D
Title: Re: Will Guns of Icarus Unity 5?
Post by: Keyvias on October 01, 2014, 02:04:49 pm
We'll definitely keep upgrading as we can for the game.
We're moving into unity 4.3 with the next patch (I believe) as it is now stable and does not cause any issues in game.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Queso on October 01, 2014, 02:44:02 pm
All the engineers want a 64 bit editor, so it's fairly likely. Nobody wants the editor crashing every time they want to test something. I have been through that experience. It is not fun.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on October 03, 2014, 04:59:06 am
All the engineers want a 64 bit editor, so it's fairly likely. Nobody wants the editor crashing every time they want to test something. I have been through that experience. It is not fun.

Exactly! Also it allows you to make even bigger maps, which might come in handy for the Adventure Mode. So why not make the switch now by the way? You see the people developing Rust (By Garry Newman, also known from Garry's Mod) already on Unity 5. You have a beautiful game (one of the better looking on Unity) I am sure you will get the privilege from Unity to make the switch early! :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on October 03, 2014, 11:36:15 am
Unity 5 has not even been released yet, it's unlikely we'll switch before that.

But, yes, do want 64 bit.

EDIT: Though I should point out that the memory constraints of Unity have basically nothing to do with changing the size of our maps, that isn't what limits them.

EDIT 2: Also, Keyvias is a patch or two behind.  Guns 1.3.7 was released on Unity 4.3.3, Guns 1.3.8 will use Unity 4.5.4
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on October 04, 2014, 06:57:48 am
Unity 5 has not even been released yet, it's unlikely we'll switch before that.

But, yes, do want 64 bit.

EDIT: Though I should point out that the memory constraints of Unity have basically nothing to do with changing the size of our maps, that isn't what limits them.

EDIT 2: Also, Keyvias is a patch or two behind.  Guns 1.3.7 was released on Unity 4.3.3, Guns 1.3.8 will use Unity 4.5.4

Thanks for replying Watchmaker! Very good information you got there. :) Unity 5 has indeed not been released yet. Though games like Rust already use it, think of it like some sort of beta program. Anyways thanks for replying and I hope you guys will make the transfer to Unity 5! :)

Also good to know that you map size is not limited by the 32 bit editor. So can you maybe explain what is actually the big improvement (and why you want it so bad) about 64 bit? :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Queso on October 08, 2014, 10:23:48 pm
The issue with the 32 bit editor is that the editor is basically both the tools to run the game, and the tools to modify and view all the assets and scripts that run the game behind the scenes. Tracking and logging all of this stuff takes a large chunk of memory in addition to all the memory it takes just to run the game. The issue with a 32 bit editor is it can only use around 2 GB of memory before crashing (citation needed). Because of the larger address space of 64 bit programs, they can handle up to around 8 TB of memory (citation needed) before running out of unique memory addresses. This became an issue when we'd try and do larger scale play-test stuff on large maps in the editor.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on October 12, 2014, 07:39:43 pm
Queso basically covered it: more available memory space for the editor makes life easier for us - currently we have some editor-specific memory issues that lead to uncomfortably frequent crashes during our work days.  A 64-bit editor would greatly improve that; a 64-bit client would also allow the game itself to make use of more system memory, though this isn't really an issue most of the time.

GoIO typically uses 1.7-2GB of memory while running a match, which is well within the available address space of a 32-bit OS.  32-bit Windows allows a max of I think 2GB for all user programs by default, but can be configured to allow up to 3 GB; 64-bit Windows, for practical purposes right now, has no upper limit (the actual limit is 7-8 *tera*bytes of RAM.)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Queso on October 12, 2014, 09:53:42 pm
Woooo! Got it right! Does this mean I pass my internship?
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on October 13, 2014, 11:11:19 am
Unlike with certain professors, the entire grade isn't based on the final exam...

(You "passed" your internship somewhere around when we finally fixed tool autofire...)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Squidslinger Gilder on October 13, 2014, 01:26:32 pm
Would going to 64 bit change anything as far as map size or complexity goes?
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on October 13, 2014, 02:02:02 pm
Not really.  System memory isn't the primary limit on map size or complexity.

Map size is limited ultimately by floating point precision, and in practice by simple travel time.

Map complexity and performance is mostly limited by *video* RAM and other GPU constraints.  System RAM does play a role here, but it's fairly minor.

Making use of the increased upper limit on memory would also mean either dropping support for lower-end machines without said extra memory, or authoring extra low-detail versions of the same map(s), so it's something we'd have to be very careful about.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on October 28, 2014, 11:37:51 am
Unity 5 has not even been released yet, it's unlikely we'll switch before that.

But, yes, do want 64 bit.

EDIT: Though I should point out that the memory constraints of Unity have basically nothing to do with changing the size of our maps, that isn't what limits them.

EDIT 2: Also, Keyvias is a patch or two behind.  Guns 1.3.7 was released on Unity 4.3.3, Guns 1.3.8 will use Unity 4.5.4

http://blogs.unity3d.com/2014/10/27/unity-5-0-pre-order-beta-now-available/ Unity 5 beta is available as of today! :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on February 09, 2015, 09:41:03 am
By the way, will Guns of Icarus also make use of new API's like DX11/DX12? :) I think the extra draw calls will come in handy for Adventure Mode.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on February 09, 2015, 11:05:37 am
What on earth do you mean by "extra draw calls"?

Switching over to the DX11 renderer has been a side project of mine for a long time, since it should theoretically improve performance in addition to giving us some new options.  There are relatively few and minor issues with it at this point, so that may just happen in a future patch (nothing will magically look better when this is released, mind you.)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on February 09, 2015, 12:40:42 pm
Hey Watchmaker!

What a fast response! I know the game will not magically look better, that is not the intention of a new API. The intention is to make the game run smoother, just like Mantle is doing (AMD Low Level API). I think there is a lot of improvement possible when it comes to performance for Guns of Icarus, especially when Guns of Icarus goes Adventure Mode (MMO, with huge maps perhaps and lots of things going on?) Also if Adventure Mode is going to have some persistence, I think drawcalls can fastly increase. (Depends on your plans ofc.)

Drawcalls are simply the things which can happen at a time. Here is an article about it on the Unity forums. http://forum.unity3d.com/threads/what-are-draw-calls.27416/ The drawcalls possible in DX11/12 vs DX9 are way higher. So it means there are more possibilites for Guns of Icarus.

Hope this helps! Hope you guys will perhaps look into Mantle/DX12 aswell since those are low level API's which will improve performance very significantly. Mantle is not yet intergrated into Unity (and probably never will), so I think DX12 is the way to go since it will probably come in time to Unity 5.

PS: Amazing work on the DX11, cant wait to see it intergrated into the game! :) Especially in hectic situations my performance tends to drop, not sure if this has to do with the drawcalls, but it could be.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on February 10, 2015, 09:45:28 am
Yes, I know what a draw call is.  It was the "extra" that threw me; I would have just said "draw calls are cheaper."

In any case: the supposedly lowered cost of draw calls in the newer APIs is indeed an exciting possibility.

EDIT: Generally speaking, framerate in Guns is bound by fillrate/overdraw in the worst cases.  That's why you see drops when you have a faceful of smoke/clouds/fire/explosions.

Mantle is not likely, since it's AMD-hardware specific and we have one (part-time) graphics programmer (me, on top of everything else I do.)  If Unity integrates DX12, that would be nice.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on February 10, 2015, 10:02:29 am
Perhaps that is a better way to put it! In any case, exciting developments in the game industry! :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on February 12, 2015, 07:47:10 pm
Hey Watchmaker,

I just wanted to let you know that Unity will support DX12! :) http://blogs.unity3d.com/2015/01/22/staying-ahead-with-directx-12/

Hope this helps,

Kind regards :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on February 23, 2015, 06:35:45 pm
So how is the DX11 coming along and the DX12 consideration? :)
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on March 03, 2015, 12:03:02 pm
Time to upgrade guys! :D http://unity3d.com/5
Title: Re: Will Guns of Icarus Unity 5?
Post by: Watchmaker on March 03, 2015, 04:54:40 pm
Ha.  It is probable that Unity 5 breaks our lightmaps (because they completely switched the lightmapper around).  It is possible that other issues will arise as well.  This is the joy of a backwards-compatibility-breaking release.  We're excited, too, but don't hold your breath.
Title: Re: Will Guns of Icarus Unity 5?
Post by: Typhi on March 22, 2015, 08:38:09 pm
Ha.  It is probable that Unity 5 breaks our lightmaps (because they completely switched the lightmapper around).  It is possible that other issues will arise as well.  This is the joy of a backwards-compatibility-breaking release.  We're excited, too, but don't hold your breath.

Seems you guys made the choice. Unity 5 it is! Great choice! Can't wait till it's implemented! :)