Using tags and layers in an asset demo scene

Not sure if this is the right forum.

Something seems to have changed in Unity 5, in that tags and layers aren’t created as needed anymore at runtime.

I have a number of scripts that depend on tags or layers. I have an asset store project that includes some demo scenes, but I don’t see how to include the proper tags and layers needed to run the demo.

What these necessary layers and tags are can be changed to work as needed for different projects, but it seems unreasonable to make the user set these up properly before running a demo scene.

It used to be enough to just include an object in the scene having the needed tags or layers. Now that seems to have changed, and I’m getting an undefined error on those tagged objects.

How do I get around this?

Ok, so it appears I can add tags and layers via script by using a custom editor. At least, I’ve see some examples floating around.

I don’t know how actually get it to work just yet, but that’s more likely because I’m completely unfamiliar with editor scripting.

A bigger question might be whether it’s a good idea to be adding tags and layers to someone’s project so a demo scene can run. I feel like the answer should be ‘no’, but I don’t see any other way to make the scenes run.