Skip to main content

Final Things (Version control, optimizations)

Version Control

If you are putting a lot of time and effort into a world, version control is a must (lest you end up like me and lose your work). Version control tracks the changes you make to your project and allows you to revert your project to previous states (indispensable if something goes wrong).

Working on a world, you are most likely going to be one person on a single computer, so I would simply recommend usingĀ Sourcetree[].

Optimization (Review)

World Creation, Optimization, and Community Labs Tips[]
Quest Content Optimization[]

  • Set everything that is static to static [will allow for lighting and occlusion culling to be baked]
  • Set all lights to baked
  • bake the lighting
  • Bake occlusion culling

Remember, occlusion culling only affects the visual rendering of objects! Objects out of view will still be processed and affect performance!

Make sure to include toggles on performance heavy gameobjects, for example:

  • toggles for physics objects
  • toggles to turn off shadows for realtime lights (if you have a realtime light with shadows enabled in your scene)
  • MIRRORS!!! This should be obvious but they should have toggles and be off by default!

Use the Unity profiler! It will help you find things in your world that are causing performance to drop the most! This is especially useful for figuring out how to optimize scripts!