Optimize as you build

This article contains a brief overview of optimization and performance. You can learn a lot more by reading our article named Performance Guidelines.

As you start your Mesh project, it's important to keep in mind the things you can do to ensure the best experience for your users. This should include:

  • Having a performance budget that aligns with the platforms you're targeting. You can build for PC, Quest/Android, or both. If you build for both, you'll need to optimize for Quest/Android.

  • Ensuring that any 3D models, materials, and shaders you import into your project are constructed appropriately for real-time high-performance scenarios.

  • As you build, regularly checking with the Content Performance Analyzer (CPA) tool to view a range of helpful performance-related statistics about your project.

    A screenshot of the Content Performance Analyzer tool.

  • Within the Mesh app, using the Performance Profiler to view your Mesh project's frame rate, scene complexity, and memory usage across all platforms. The Performance Profiler is also accessible within the Mesh toolkit.

    A screenshot of the Performance Profiler.

You can also use these tools which are useful for profiling content in Unity:

Note: After you build and publish your project, the Mesh Environment Results window appears. It contains a Content Performance indicator which gives you a results message related to content in your project. To learn more about these messages and what they mean, see Understanding your Build and Publish results.

A screenshot of the Build and Upload results window with the Content Performance indicator highlighted.

Tip: After you close the Build and Upload Results window, you can see validation results at any time: in Unity on the menu bar, select Mesh Toolkit > Validate > Validate Active Scene.

A screenshot of the Mesh Content Validation window.

Next Steps