My Tags are getting changed, when its loaded from Asset Bundle.

I have created an asset bundle from several scenes. After downloading and loading the scenes, the tags for the game objects are either becoming as Undefined or the tags for the game object are getting changed. For example.

Case 1:

I have assigned a tag named “Tag1” to a gameObject named “GameObject1” and when the scene is loaded from asset bundle, the GameObject1’s tag is showing as Undefined instead of “Tag1”. Because of this, my game stops working. Its working fine when I’m not using asset bundle.

Case 2:

I have assigned a tag named “Tag1” to a gameObject named “GameObject1” and a tag named “Tag2” to another gameObject named “GameObject2”. and when the scene is loaded from asset bundle, the GameObject1’s tag is changed as “Tag2” and GameObject2’s tag is changed as “Tag1”. Because of this, my game stops working. Its working fine when I’m not using asset bundle.

Why are the tags not properly working when the scenes are loaded from asset bundle? Is there any solution for this issue?

This question is a bit old, but somebody might find this answer helpful. When making asset bundle containing scenes that has gameobject with special tag’s you must not change any code in youre project. Otherwise some wierd things might happen. Hope this helps