Multiple scenes cons and pros?

Hii, i am about to end my quiz game and i just need to duplicate my scenes and change few things every scene.
I built the game with multiple scenes instead of 1 script because i thought it is too much for 1 script and it made my life easier.
The game will have about 1000 scenes and i am afraid that its too much for unity.
I tryed to duplicate and build 150 scenes so far, the build took 2-3 minute longer but it seems the game works fine and weigh the same as before.
There is something i need to worry about?
Thanks.

Multiple scenes are good to work with.
If the new scene is helping you keep organized in some way, that sounds like a positive thing.

Personally, I would use scenes if they are helping me. I would re-use a scene with different data, if that seemed more appropriate.

I’ve never had 150 or 1000 scenes, though.

So i tryed to use 400 scenes, works fine.
I guess we got the answer :slight_smile:
Build takes longer but game run the same.

Try however to use Prefabs as much as you can to keep the scene sizes down. (Not to mention keep maintenance down as well)

Since you say it’s a quiz game, what are you doing that requires so many scenes? If you were just changing questions, you should be able to use the same scene and just change out the data it uses.

1 Like

It’s a quiz but the letters are different each question and the player can go back to the same question if he did’nt know the answer.

Even just different letters and stored questions could be done in the same scene.

The difficulty with multiple scenes that are all largely copies of the same thing is you will have huge problems making even minor changes to scene objects that are duplicated across all of them. So you reposition a UI scene object in one scene, and now have to manually do the same thing to 999 other scenes. That could take you a full week for just the slightest change.

I’d suggest using a single scene for everything that is the same for all scenes, and either using prefabs or additive scenes for everything that is different from level to level.

If the only thing that is different between levels is some variables, then I’d just do that by loading via csv or json, or make lists you can edit in the inspector, and do everything in a single scene.

The way I see it, you should only need to create a new scene if you plan on adding something completely different (or different enough) than what’s in your current scene; such as different levels in a game.

I know it’s better to make a database for the questions but the only reason i am avoiding doin it is that i dont know how to controll the grid through script and every word has a different length. Maybe you can help me with that problem and i’ll add an offset.

If that’s in the UI you can try using a layout group.

I don’t really understand how it works.
I made everything in 1 scene, i want to change the cell size for instance.
I used public LayoutGroup Layout;

3461075--274505--layoutg.PNG

I got it.
I should do GridLayoutGroup instead

Well, Everything solved!
Thanks everyone for your advices! :slight_smile: