Official Codex Discord Server

  1. Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.
    Dismiss Notice

Load times in Unity RPGs

Discussion in 'General RPG Discussion' started by Lacrymas, May 10, 2020.

  1. Jenkem Magister Patron

    Jenkem
    Joined:
    Nov 30, 2016
    Messages:
    3,392
    Location:
    '`,'`,`',
    Make the Codex Great Again!
    every fucking topic on the codex will always loop back to obsidian. you people need help.
     
    • Funny x 12
    • Agree x 5
    • Brofist x 1
    • Yes x 1
    • No x 1
    • How DARE you!?? x 1
    • Creative x 1
    • Balanced x 1
    ^ Top  
  2. Roguey Arcane Sawyerite

    Roguey
    Joined:
    May 29, 2010
    Messages:
    27,397
    Kingmaker runs well for me so far. Perhaps I'll run into those increasingly long loading times, but that's a consequence of the save file getting larger and larger on account of it needing to keep track of every change in every map you visit.
     
    ^ Top  
  3. guestposting Novice

    guestposting
    Joined:
    May 2, 2020
    Messages:
    52
    The number of saves also seems to make it worse. I deleted a bunch of old ones and my load times are now much faster, even in the last chapter.
     
    • Agree Agree x 1
    ^ Top  
  4. Tacgnol Shitlord Patron

    Tacgnol
    Joined:
    Oct 12, 2010
    Messages:
    1,866,132
    Codex 2016 - The Age of Grimoire Grab the Codex by the pussy Shadorwun: Hong Kong Divinity: Original Sin 2 Pathfinder: Kingmaker
    It's worth using that cleanup mod on the PF nexus as well.

    Deleting all the left over studded leather armours and greatswords when you leave a map makes a pretty big difference.
     
    • Informative Informative x 2
    • Agree Agree x 1
    ^ Top  
  5. Lacrymas Arcane

    Lacrymas
    Joined:
    Sep 23, 2015
    Messages:
    11,326
    Pathfinder: Kingmaker
    This is what caused the lengthy loading times in PoE1 too, having to track every change (read: items on ground and sold to merchants) on every map. But that is what screams unoptimized to me. The engine only has to keep track of that and it falls apart? What would happen if it was more complicated?
     
    ^ Top  
  6. fantadomat Dumbfuck! Dumbfuck Edgy

    fantadomat
    Joined:
    Jun 2, 2017
    Messages:
    20,921
    Location:
    Bulgaria
    :deathclaw:
    Not really,poe games have long times regardless of your progress. Also i didn't noticed kingmaker having that long loading time,for me it was pretty passable,5-10 seconds...maybe 15.
     
    • Brofist x 1
    • Disagree x 1
    • No x 1
    • WTF am I reading x 1
    • Doggy x 1
    ^ Top  
  7. Nano Prestigious Gentleman Arcane Patron

    Nano
    Joined:
    Mar 6, 2016
    Messages:
    1,979
    Nah, Kingmaker's loading times were pretty bad, even on an SSD. You can tell it's bad when the player tries to minimize area transitions because of it.
     
    • Agree Agree x 2
    ^ Top  
  8. rusty_shackleford Arcane

    rusty_shackleford
    Joined:
    Jan 14, 2018
    Messages:
    16,899
    It's not Unity, it's bad developers. Atom(Unity game) has near instant loading times.
     
    • Agree Agree x 2
    • incline incline x 1
    • Salute Salute x 1
    ^ Top  
  9. conan_edw Savant Patron

    conan_edw
    Joined:
    Dec 3, 2017
    Messages:
    647
    Grab the Codex by the pussy Pathfinder: Kingmaker
    Buy an SSD
     
    • rolleyes rolleyes x 1
    • Yes Yes x 1
    ^ Top  
  10. fantadomat Dumbfuck! Dumbfuck Edgy

    fantadomat
    Joined:
    Jun 2, 2017
    Messages:
    20,921
    Location:
    Bulgaria
    That is true,most devs just use premade shit on unity and don't bother optimizing the game.
     
    ^ Top  
  11. rusty_shackleford Arcane

    rusty_shackleford
    Joined:
    Jan 14, 2018
    Messages:
    16,899
    iirc my kingmaker savefile was nearing 500mb uncompressed towards the end of the game. Loading times were taking forever.
     
    • WTF am I reading WTF am I reading x 2
    • hopw roewur ne hopw roewur ne x 1
    • Agree Agree x 1
    ^ Top  
  12. Lacrymas Arcane

    Lacrymas
    Joined:
    Sep 23, 2015
    Messages:
    11,326
    Pathfinder: Kingmaker
    PoE1's loading times become worse the more you play. PoE2's are terrible in general, I don't know if they get even worse later on. It's also well-known that Kingmaker's loading times become worse for the same reason as PoE. This is not speculation, these are things confirmed by the devs themselves.
     
    • Agree Agree x 1
    • [citation needed] [citation needed] x 1
    ^ Top  
  13. fantadomat Dumbfuck! Dumbfuck Edgy

    fantadomat
    Joined:
    Jun 2, 2017
    Messages:
    20,921
    Location:
    Bulgaria


    Hmm not arguing against that,was just saying that i didn't experienced such a thing. You know how computers are,some toasters have a problem with the game,others don't. Did you guys used a manual save or a quick save?
     
    ^ Top  
  14. thesecret1 Scholar

    thesecret1
    Joined:
    Jun 30, 2019
    Messages:
    668
    To me, Kingmaker was fucking unplayable on a HDD. I spent more time staring at a loading screen than playing. Then I upgraded my PC, got an SSD, and suddenly found myself on a higher plane of existence where loading times do not exist. Seriously guys, get an SSD, it's so, so worth it.

    As for Unity, it's got a lot of really shitty things optimization-wise, often done in the name of helping inexperienced devs getting shit to function. That being said, those things CAN be worked around (usually by overloading Unity's shit with your own that does the same thing but runs much better). Of course, it's extra work and requires some experience with both the engine and programming, hence most Unity games (often made by total amateurs) do not have this kind of optimization. As for devs, a large part is that the new generation of game programmers does not have experience with optimization. They often only programmed stuff for PC, and today's PCs are so powerful that you can do a lot of lazy shit there without worrying about performance. Of course, that lazy shit adds up, so eventually you run into problems, but by then you'd often need to rewrite the entire game code, and the programmers who wrote it still don't know anything about optimization. Old school devs programmed their shit on weak hardware where every instruction was precious, and automatically write performance-friendly code even today.
     
    ^ Top  
  15. Cat Dude Learned

    Cat Dude
    Joined:
    Nov 5, 2018
    Messages:
    275
    Unity engine was the only reason I upgraded my gfx card a few years ago.
     
    • Disgusting! Disgusting! x 1
    ^ Top  
  16. Cat Dude Learned

    Cat Dude
    Joined:
    Nov 5, 2018
    Messages:
    275
    Correction; Badly performed gfx
     
    • :M :M x 1
    ^ Top  
  17. onemananadhisdroid Augur

    onemananadhisdroid
    Joined:
    Jan 26, 2007
    Messages:
    293
    Location:
    Germoney
    I have a fairly entry level SSD, but same. Sure, it takes a good few seconds, but nothing overly instrusive. That said, the decision to have auto-save non-optional is a bad one, in particular as there are too many scene transitions in city hub/s. Auto-saving may not actually take that much time, but it really adds up. Now Pathfinder on the other hand... it takes ages to even boot that up.

    The worst I've ever had was playing Tyranny on a) an old HDD and b) with but 4 gigs of RAM. It depended a lot on the maps, but Lethian's Crossing took minutes to load up. Every time I got there I alt-tabbed to the desktop and went browsing. :D Tbf, the official minimum requirements list 6 gigs. But since I could run PoE1 fine as well, I had given it a shot regardless.

    Isn't Atom RPG also Unity made? The loading times on that one are crazy fast. This goes for saving / loading games as well. How big an area is seems also to make little difference. Then again, visually, it's a game of lesser fidelity than PoE, Pathfinder et all.
     
    Last edited: May 11, 2020
    ^ Top  
  18. JarlFrank I like Thief THIS much Patron

    JarlFrank
    Joined:
    Jan 4, 2007
    Messages:
    25,137
    Location:
    Secret Lab of the Warrior-Magus of Esoteric RPGism
    Borderless Window Mode is the greatest blessing of the modern age.
     
    • Agree Agree x 5
    • Brofist Brofist x 1
    ^ Top  
  19. Tigranes Prestigious Gentleman Arcane

    Tigranes
    Joined:
    Jan 8, 2009
    Messages:
    9,123
    BG2 on release interior / zone transition loading took around as long as POE on release for me.

    But then, I had a hotwired potato for most of the 2000's. Morrowind 8fps never forget
     
    • Salute Salute x 3
    • Prestigious Prestigious x 1
    ^ Top  
  20. Cyberarmy Love fool Patron

    Cyberarmy
    Joined:
    Feb 7, 2013
    Messages:
    5,703
    Location:
    Smyrna - Scalanouva
    Divinity: Original Sin 2
    Heh, I played King's Quest 8 back then, no loading screen can bother me anymore.
     
    ^ Top  
  21. pomenitul Savant

    pomenitul
    Joined:
    Sep 8, 2016
    Messages:
    720
    Location:
    μεταβολή
    Loading times in the PoEs have never been an issue on my end (SSD ftw), but I agree that their optimization leaves much to be desired. In Deadfire, especially, I still get micro-stuttering in small areas where I'm hovering between 140 and 150 FPS.
     
    ^ Top  
  22. Horvatii Novice

    Horvatii
    Joined:
    Dec 15, 2019
    Messages:
    69
    The reason Deadfire having bad loading time is the virtual file system they use. I dont know if its Unity fault or not.

    But loading a savegame costs your 20.000 file opens (potentially disk access), 80.000 reads (something like ReadFile api), 29k of Other...
    2.2 gig of data 'read'.
    Reads are probably the main issue, becuase for example 'characters.unity3d' is opened 2 times and read from 22000 times - a file which is 2gb is read from for 428mb.
    vfx.unity3d is only 340mb file on disc, is read 29000 times for 308mb. Might have just loaded it into ram straight...
    [​IMG]

    In blue is high probability file access through disc. Which is supported by red in CPU utilization, which means kernel time, which means disk access through drivers, so file access through disc.
    When all stuff is opened, you have memory read/write/move of some kind in purple.
    [​IMG]

    There is also super effienceint stuff at game start like touching Partymemeber.png 737 times... and similar greatness.
    [​IMG]
     
    • Informative Informative x 10
    • Brofist Brofist x 1
    • Acknowledge this user's Agenda Acknowledge this user's Agenda x 1
    ^ Top  
  23. Horvatii Novice

    Horvatii
    Joined:
    Dec 15, 2019
    Messages:
    69
    ^ I might try to run the procmon trace on ATOM later.
     
    • Informative Informative x 2
    • Prestigious Prestigious x 1
    ^ Top  
  24. Crispy Who's really in charge here? Undisputed Queen of Faggotry

    Crispy
    Joined:
    Feb 16, 2008
    Messages:
    1,868,549
    Location:
    Future Wasteland
    There's a fix for that in PoE 2. I don't remember if it works for PoE 1 as well.
     
    • Informative Informative x 1
    ^ Top  
  25. pomenitul Savant

    pomenitul
    Joined:
    Sep 8, 2016
    Messages:
    720
    Location:
    μεταβολή
    Special K never worked for me.
     
    ^ Top