Tim Sweeney on Unreal Engine 5 Optimization Issues: "The main cause is order of development"
clawsomegamer.com
external-link
Unreal Engine 5 has optimization issues, but Tim Sweeney think developer education can solve the problems.
ℍ𝕂-𝟞𝟝
link
fedilink
English
3811d

Okay, I work as a programmer, and there is a reason projects work the opposite way. You first have to have a working product that comes back as good from whatever QA you have, then you optimise and build on it. If you have to optimise on day 1, nothing will ever get done. I should know, that’s why I have a ton of personal projects in development hell.

Why would games be different?

@[email protected]
link
fedilink
English
811d

I mean, putting in a bit of thinking before you actually hit the keyboard can be an incredibly effective form of optimization, if you can get for example an O(n^2) down to an O(log n). You’ll even save time on not having to rework the thing later, and if you build on poor foundations, chances are you’ll stumble upon fundamental architectural challenges down the road, which can be extremely costly in terms of development time.

Badabinski
link
fedilink
211d

Yep, taking some care early on can pay dividends down the road. The data structures you choose really matter, and YAGNI can stop you from going overboard with indirection and other shit. Premature optimization is bad, but there’s nothing wrong with writing performant software as long as it’s still comprehensible and extensible.

@[email protected]
link
fedilink
English
611d

I work in games, the reason it works the opposite for them is because Unreal Editor is a product that is also shipped.

Sadly for most of us, the tools used to make the game (that includes the engine) are for internal use only, and most of the time there is no army of programmers available to do all of the work ahead of time. So it pays to wait and focus on the hot path used by the game you are shipping right now and not a hypothetical one you might ship later.

@[email protected]
link
fedilink
English
-311d

Games don’t have unit tests so you can’t quickly make code changes without breaking the world

Who knows if the engine is any different

ℍ𝕂-𝟞𝟝
link
fedilink
English
611d

You can absolutely make unit and even integration tests in games, but I agree that I don’t think it’s really done because of the domain. Things are more caught in QA or more like Early Access these days.

@[email protected]
link
fedilink
English
411d

I can build everything in one level at the start or I can build it across multiple levels and stream it.

Which one I do should be done at the start.

And of course if I’m targeting a 4090 then hoping to slap DLSS on it then it’s not going to work. I could pull a TI and turn AO off then pretend UE5 is the problem but it’s really just a developer issue.

Create a post

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let’s Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)
  • 1 user online
  • 105 users / day
  • 282 users / week
  • 762 users / month
  • 3.11K users / 6 months
  • 1 subscriber
  • 6.23K Posts
  • 44.4K Comments
  • Modlog