how to optimize and make sure that code runs at optimal speed unity

how would one optimize his c# scripts to run as fast as possible … and what are some great performances optimization tutorial when it comes to unity in general

That is probably the most open question there could be! As such there is no answer.

Its like asking, how do I make a game? There is no one right answer, there is no definitive and only way to do so. Same for optimising. Once you have made your functions and opened the profiler for each problem, then you can start asking the real questions like how do I improve my existing save code, or rendering time or whatever.

Optimising can be the death of your project if your not careful, get it made first then worry about it later :slight_smile:

1 Like

Here are a few links that you can study…

Unite Europe 2017 - Practical guide to profiling tools in Unity

Unite Europe 2017 - Performance optimization for beginners

Unite 2017 Seoul - Tips and Tricks for Optimising Unity UI

Unite Europe 2016 - Optimizing Mobile Applications

Unite 2016 - Let’s Talk (Content) Optimization

Performance Optimization

Practical guide to optimization for mobiles
https://docs.unity3d.com/Manual/MobileOptimizationPracticalGuide.html

Unite Korea 2013 - Memory Profiling in Unity

Optimizing graphics performance

Optimizing Unity UI
https://unity3d.com/de/learn/tutorials/topics/best-practices

Spotlight Team Best Practices: Optimizing the Hierarchy

10000 Update() calls

ParticleSystem Performance – Culling

2 Likes

thank you so much … you’re a life saver

1 Like