Hello!
Me and my team are making a game where we need to spawn multiple rooms, to create a dungeon. Those rooms, are created previously in the editor. We have a set of tiles for walls and floors, and we Instantiate them using PrefabUtility.InstantiatePrefab(prefab) as GameObject.
The thing is, when we save those rooms as prefabs, after having 2 or 3 saved, the Editor starts opening the “Hold on…” window everytime we change and save anything, taking like a second for every room prefab.
As we plan to have a lot of rooms, so the dungeon has more variety, this is a huge problem, because if we end having 60 rooms, waiting 1 min for a minimum change is horrible.
We do know that the error comes from the prefab nesting, because if we Instantiate them with the GameObject function, that doesn’t happen. But if we do so, any change we would have to do in something like a tile, would mean to repeat every room that contains that tile.
Do you know how to solve this?
Thanks!