New 75 page guide on profiling in Unity available

Hi everyone,

We’ve just wrapped up a new e-book for profiling your games. We know that smooth performance is essential to creating immersive gaming experiences – and to achieve that, you need to profile your game. Not only do you need to know what tools to use, and how, but when to use them.

This 70+ page guide to advanced profiling was created together with both internal and external experts. It compiles advice and knowledge on how to profile an application in Unity and identify performance bottlenecks, among other best practices.

>>Download free e-book on profiling

For a consistent, end-to-end profiling workflow, which is crucial for efficient game development, start with a simple three-point procedure:

  • Profile before making major changes: Establish a baseline.

  • Profile during development: Track changes and ensure they don’t break performance or budgets.

  • Profile after development: Prove that changes had the desired effect.

We hope you find this guide useful! If you think something is missing or could be improved - do let us know in this thread, and we could add it to the next edition of the guide.

Also, make sure to visit our website to discover more e-books and other learning content.

28 Likes

Hi, i love this PDF’s but, is there a way to get a notification when a new pdf is released? thanks

6 Likes

And link where we can see and load all pdf’s please

2 Likes

you mean this?
https://resources.unity.com/games

5 Likes

May be yes but
when I open that link it is hard to find those pdfs that I already loaded

may there must be publication date of each resource and sort by publication dates :slight_smile:

Wow, thanks already finding it useful.
It impressive how this curve reflects 1to1 my profiling sessions.
8156849--1060151--upload_2022-5-25_22-36-54.png
I wrote about my experiences with the profiler and shared my multi threading tips and tricks here .
The ms in the performance test scaled exactly like in the image when build with il2cpp.

2 Likes

I’d like a full newsletter on all news and blog posts. I’m still waiting for that.
In the meantime, I use www.visualping.io It’s free, give it a go!

3 Likes

Oh, thanks, i will… :slight_smile:

Glad to hear the guide is useful. Please let me know if you have suggestions for improvements as we plan to update it to a new edition. We got several more ebooks in the works too. We don’t have a notification system or a dedicated newsletter for announcing when they become ready but we are looking into creating a webpage with an overview of all the best practice content.

3 Likes

We also created this flowchart from the ebook as a pdf in case anyone finds that useful to reference in the profiling process (you can also find it in this blog post).

8172008–1063574–2022_TheUltimateGuidetoProfiling_Flowchart.pdf (2.94 MB)

1 Like

I am not sure if something was updated, but the pictures in the guide are practically useless. The above screenshot of FPS vs Frame Time on the 25th is much clearer than what is currently in this guide (I cannot even read the numbers on that same graph).

2 Likes

Thanks for putting this together. Personally, I’d prefer a website to an e-book. The images in particular are difficult to read in this format.

1 Like

Thanks for flagging Brad and sorry about that. Looks like something went wrong in the last version. I’ll check with our designer so we can get a new version uploaded (replacing the existing pdf but same URL).

We actually just launched 3 x webpages covering most of the ebook here if you prefer web:

4 Likes

Is there some page thet lists all “how tos”?
something like Explore Unity’s best practices | Unity

1 Like

Hey Jes. Yes, we are actually working on that right now so it will be much easier to find. I realize its not optimal solution right now. Here are a few performance-related ones:
https://unity.com/how-to/mobile-game-optimization-tips-part-1
https://unity.com/how-to/mobile-game-optimization-tips-part-2
And 6 more how-pages are in the works based on the console/PC and mobile optimization guide. For those who haven’t seen it yet there is also a webinar on June 14th (it will be recorded so those reading this after can check it out too). A couple of the experts who helped create the profiling guide are part of the panel and Sybo (Subway Surfers) will be joining too to share some tips, if that could be helpful/interesting.

2 Likes

Hey Brad. We updated the pdf so the images/screenshot compression is fixed and is readable again. Apologies for that.

4 Likes

Why we have to give our emails to obtain some of the content ?

Is this necessary ?
You already got most of our emails in your database.

1 Like

Isn’t it just a 1000/x curve?

2 Likes

In some areas it looks like it. Look at the 30 fps. 1000/30 = 33 fps, but its close to 40 (somth like 38-38.5). Maybe the curve is hand made.
But yeah now that I look at it with fresh eyes it does look like that.

Now I remember. I was looking at first its edit mode vs playmode.
20 fps would be like about 2-3 times faster, which is my experience on build with dots and il2cpp.
Stupid me :d