We are having some discussions about our scene-size ‘issues’ and how to proceed.
As we do not want to corrupt our main scene again.
We want to continue building on our open world.
Right now we have the following flow:
- Splash-screen → lightweight Main Menu
- Main Menu (downloading all assets) → Additive loading in scenes → Main Menu destroyed → Gameplay
According to the .json file sizes in our build, we have the following:
- Main game scene : 5.6MB
- Second scene: 1.2MB
- Third scene: 1.1MB
We understand that the max scene size is 16MB.
This raises the following questions:
1: The main scene that gave trouble before is now approx 6MB, can we safely merge the 3 scenes again?
Or does the PlayCanvas editor use some form of encoding (UTF-16 for example, that doubles the file size)?.
2: The current ‘workflow’ makes is very rough to design a large open world. Do we just accept this?
Or are there creative ways to work with multiple scenes. Ideally we want to see multiple scenes simultaneously to create smooth world transitions.
2: As I understand, the additive load of a scene happens in one frame. This causes frame drops/stuttering when loading.
Preferably we want this to be as smooth as possible.
- e.g. Player enters the game, rest of the world loads in the background without stutters.
One solution I can think of is to enable entities over several frames when the scene is loaded. This would however worsen the workflow I think.
I hope this isn’t too much for one post.
Thanks in advance!