Search Unity

  1. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Maximum map size?

Discussion in 'Editor & General Support' started by Chaoss, Jan 18, 2012.

  1. Chaoss

    Chaoss

    Joined:
    Jul 8, 2011
    Posts:
    327
    quick question, I've read through the help/documentation, i was wondering how big you could make a world in Unity (in meters and/or km)
     
  2. andorov

    andorov

    Joined:
    Feb 10, 2011
    Posts:
    1,061
    Infinitely large, if you implement proper streaming and a custom coordinate system. Nothing is really stopping you from reading/writing to disk as you need data.
     
  3. Ntero

    Ntero

    Joined:
    Apr 29, 2010
    Posts:
    1,436
    Nothing on a computer is Infinite.
    Although the main limits on your maximum world size are going to be your own ingenuity and resourcefulness.
     
  4. Izitmee

    Izitmee

    Joined:
    Jan 27, 2011
    Posts:
    3,233
    Why not? If we assume that time can be infinite, than a computer playing a game with auto-generative maps would have an infinite world (obviously, what I wrote is for the "nerds corner", and totally doesn't answer the question :D - and also, obviously sooner or later that computer would crash/break/be-destroyed-by-a-nuclear-bomb and the infinite map generation would stop, but, in theory...)
     
  5. don_tomaso

    don_tomaso

    Joined:
    Feb 26, 2012
    Posts:
    1
    I have a question about scene size: I´ve read that the larger your scene get stuff like animations get jerky because of greater errors in the calculations, but when exacly does this begin to happen? I know I can´t get a "it happens whenever an object is 1000433.65 units from world origin"-answer, but maybe someone have a general idea of when it begin to get noticable? Is it early like above a thousand units, or is it likely that I could be up in millions without noticing anything?
     
  6. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,242
    Single-precision floating point generally gets you 7 digits, so your coords can be, say, 123.4567, or 1234.567, or 12345.67, or 123456.7. I doubt you'd want fewer than 3 digits after the decimal in most cases, though depending on the scale you're using 2 might be enough.

    --Eric
     
  7. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,602
    The maximum world size you can have, without an own coordinate system handling, is < 100k in each direction at maximum (better shoot for a bit less, its not like you could hold that much in RAM at a time anyway and with PVS not streaming you can not bake them reasonably either), beyond that objects will jitter seriously due to the resolution of the transform matrix failing misserably.
     
  8. Quatic

    Quatic

    Joined:
    Jan 2, 2012
    Posts:
    1
    if i have a server to host it on will the size be able to increase?
     
  9. chirieac

    chirieac

    Joined:
    Aug 11, 2013
    Posts:
    1
    To create a custom coordinate system that uses double-precision floating points instead of single-precision requires the Unity source code? If not, how hard or time consuming is it to make?
    Also, what involves in implementing a proper terrain/assets streaming in Unity?

    My intention is to create a big open world that could have 100km or more in one direction with lots of vegetation. My goal is to create a virtual world of my country showcasing the main points of it, like beautiful landscape or architecture.
    The only engine that handles such big world with proper streaming from what I've found seems to be Unigine Engine, but I need more than just a 3D engine. From what I see they say nothing about character animation.

    Is Unity a good candidate for big open worlds?
     
    Last edited: Sep 15, 2013
  10. Evil_Echo

    Evil_Echo

    Joined:
    Sep 30, 2011
    Posts:
    48
    I'm using Unity for a combat simulation library. So far am quite happy with the results. Am able to lob artillery shells realistic distances over realistic scenery that I can deform if necessary.
     
  11. neopan

    neopan

    Joined:
    Jan 15, 2013
    Posts:
    47
    evil echo im curious about your combat sim. will be downloadable on asset store? i am interest din doing a mad max style game with jet fighters.. size being continental united states.. expect terrain to be roughly 500gb at most..

    need guidance simplest methods..
     
  12. Detrich

    Detrich

    Joined:
    Sep 3, 2018
    Posts:
    1
    Im here reading responses to this question as im building a space game and as you probably know space is HUGE. Im currently building map that is 3 layers of 9 scenes laid out like a Rubik's cube (27 scenes total). In the center is my mothership and all the surrounding scenes have asteroids that can be mined. My scenes are each 50k cubed. So my map is 150k across/up and down/front to back. If I was to add another space station for my space truckers to haul supplies to and from, How far away could I put those scenes? Can I put my 2 Rubik's type worlds 500k apart? and if so could I place another the same distance in the other direction?
     
    EricMay and Jbs_GameZone like this.
unityunity