Objective:
Generate virtual grids that World Streamer 2 uses to manage and stream different scene segments effectively.
Why This Step is Important:
Virtual grids provide a structured framework for World Streamer to determine which scenes to load or unload based on the player’s position, enhancing streaming efficiency and world management.
Detailed Instructions:
- Access Scene Manager:
- Navigate to:
- Navigate to Streaming Layers Tab:
- Within the Scene Manager, ensure you’re on the Streaming Layers tab.
- Select the Streaming Layers:
- Ensure all desired streaming layers are correctly set up and configured as per Step 10.
- Initiate Virtual Grid Creation:
- Primary Method:
- Click the Split All Scenes Into Virtual Grid button located at the bottom of the Streaming Layers tab.
- Alternative Method (If Primary Fails):
- If the primary method doesn’t work, manually press the S button for each streaming layer to initiate grid creation.
- Primary Method:
- Monitor the Process:
- Large Worlds: For extensive maps, the grid creation can take significant time.
- Recommendation: Allow the process to complete without interrupting Unity to prevent incomplete grids or errors.
- Verify Grid Creation:
- Upon successful creation, you should see new grid items within your Hierarchy.
- Each grid corresponds to a scene prefix you set earlier, representing different segments of your world.
- Enable Debug Grids (Optional):
- For visualization and verification, enable the Show Debug Grid checkbox for each layer.
- This allows you to see the actual split and streaming areas in the Scene View or Game View, aiding in troubleshooting and optimization.
Troubleshooting:
- Virtual Grid Not Appearing Correctly:
- If the grid doesn’t generate as expected, ensure that:
- All streaming layers have correct prefixes.
- Objects are properly tagged or parented with the correct
ObjectParentscript. - Retry using the manual S button method.
- If the grid doesn’t generate as expected, ensure that:
Note:
- Operational Order:
- It’s advisable to perform virtual grid creation before adding dynamic world elements like rivers or terrain modifications to ensure accurate streaming segmentation.
Tips:
- Regular Checks: After creating the virtual grid, periodically check the grid’s alignment and coverage, especially after making significant world changes.
- Performance Considerations: Smaller grid sizes can offer more precise streaming but may increase management overhead. Balance grid granularity based on your game’s performance needs.
