Objective:
Ensure that all streaming scenes generated by World Streamer 2 are included in Unity’s Build Settings, allowing them to be packaged with your game.
Why This Step is Important:
For World Streamer to load scenes at runtime, they must be part of the build. Adding them to the Build Settings ensures they are accessible and can be streamed as the game runs.
Detailed Instructions:
- Select the _Streamer Prefab:
- In the Hierarchy, locate and select the
_Streamerprefab.
- In the Hierarchy, locate and select the
- Access the Inspector Panel:
- With
_Streamerselected, view its Inspector.
- With
- Locate the Build Settings Button:
- In the Inspector, find the button labeled Add scenes to build settings.
- Add Scenes Automatically:
- Click the Add scenes to build settings button.
- Function: This action automatically scans and adds all World Streamer-generated streaming scenes to the Build Settings.
- Verify Added Scenes:
- Open File > Build Settings….
- In the Scenes In Build list, confirm that all streaming scenes are present.
- These scenes should align with the names and prefixes defined earlier.
- Rearrange Scene Order (If Necessary):
- Ensure that your Game Scene is still the first in the list.
- Streaming scenes can follow as subsequent items.
- Final Checks:
- Ensure no streaming scenes are missing.
- Confirm that there are no duplicates unless intentional.
- Potential Completion:
- At this point, your primary setup for World Streamer 2 may be complete.
- However, additional steps (e.g., collider streaming) might be necessary for comprehensive functionality.
Notes:
- Build Size: Adding numerous streaming scenes can increase your game’s build size. Monitor and optimize as needed.
- Scene Dependencies: Ensure that each streaming scene has all necessary dependencies to load correctly during gameplay.
Tips:
- Automated Processes: Relying on World Streamer’s automatic addition reduces human error and ensures consistency.
- Manual Verification: Even after automated addition, manually verify the presence and order of scenes to prevent runtime issues.
