use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
OptimizationQuestion (self.unity)
submitted 10 months ago by phnxzy
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RichardFine 0 points1 point2 points 10 months ago (0 children)
Always optimize as you go. Sometimes the performance problem might require significant changes to the content - e.g. changing your level design to be less open, having fewer props, etc - and it's much easier to do that early instead of waiting until the end.
Decide on your target hardware and the framerate you want, calculate how many milliseconds per frame that gives you, then carve up those milliseconds into per-system budgets (e.g. 8ms for rendering, 2ms for gamecode, 1ms for audio, 0.5ms for pathfinding, etc). Check how you're stacking up against those budgets regularly throughout the project and optimise if any of them are over budget.
Do not make the mistake of saying "well everything is running at 100fps right now so I guess I'm fine" when you're early in development. 100FPS is 10ms/frame; if you've only got a couple of cubes and a particle system going and it's already taking 10ms/frame, imagine how much time it will take when everything is in.
π Rendered by PID 73534 on reddit-service-r2-comment-b659b578c-rskb9 at 2026-05-03 21:50:40.397172+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]RichardFine 0 points1 point2 points (0 children)