[Released] Duplicate Objects with Lightmap

Hi everyone!

In Unity 4, you could easily duplicate Baked Lightmapped Objects and they would still share their Lightmap with the original and save lightmap texture size. In Unity 5 however, if you try to duplicate a lightmapped object, the duplicate won’t have any lightmapping.

For example, if you have a model of a house, you can bake it once and duplicate it using the same lightmap for all houses in your scene. It’s also handy if you just want to bake AO in models that you frequently use in your level.

With this Plugin, you can duplicate lightmapped objects with CTRL + SHIFT + D and reuse them – they keep the original objects lightmap, so you can easily save on the lightmap size and don’t have to rebake all the time.

When you re-bake your original GameObject, all the duplicates will also have the new lightmap information.
If you already have Gameobjects that you didn’t duplicate with this script, you can still easily assign objects lightmaps to them.

It helped me immensly in the last project we were working on and I hope it’s useful to some of you guys and saves you a little bit of time.

Asset Store Link: Duplicate with Lightmap | Utilities Tools | Unity Asset Store

1 Like

Version 1.1 brings a few new features:

  • Break Lightmap Connection: Duplicates loose their connection to the original lightmapped object and lose their lightmap info
  • Select Original: Quickly find the original lightmapped object your duplicate is connected to - useful for lots of objects
  • Duplicates automatically turn off their lightmap static flag, since it’s only useful on the original objects

Should be live in a couple of days.

PS: Thanks everyone who purchased it! Hope it’s saving you some time.

Version 1.1 is now available.

What a good idea - does it still work in today’s Unity ?