Comprehensive World Streamer 2 Setup for Unity

Objective:

Create scene objects that reside on disk and can be loaded additively by World Streamer 2 based on the virtual grid.

Why This Step is Important:

Generating these scenes allows World Streamer to manage loading and unloading of different world segments seamlessly, enhancing performance and player experience in large environments.

Detailed Instructions:

  1. Ensure Virtual Grid is Created:
    • Complete Step 11 to have a fully established virtual grid.
  2. Access Scene Manager:
    • Navigate to:
      Tools > Nature Manufacture > World Streamer > Scene Manager
  3. Locate the Generate Scenes Button:
    • Within the Streaming Layers tab, find the button labeled Generate All Scenes From Virtual Grid.
  4. Initiate Scene Generation:
    • Click the Generate All Scenes From Virtual Grid button.
    • Note: This process may take time, especially if you’ve enabled Y-axis splitting or have a large number of grid segments.
  5. Wait for Completion:
    • Allow Unity to process the scene generation. Avoid interacting with other Unity features during this process to prevent interruptions.
  6. Verify Scene Creation:
    • Once completed, check the Project panel for newly created scene assets.
    • These scenes should correspond to the virtual grid’s segmentation and follow the naming conventions based on your Scene Prefixes.
  7. Troubleshooting If No Scenes Are Created:
    • Possible Reasons:
      • Incorrect or inconsistent prefixes.
      • Objects not correctly tagged or parented.
    • Solutions:
      • Adjust Prefixes: Ensure that all objects and parents have the correct GameObject Prefix set in Step 10.
      • Recreate Virtual Grid: Go back to Step 11 and recreate the virtual grid, ensuring all configurations are accurate.
      • Manual Intervention: If necessary, manually create parent objects with the ObjectParent script and correct prefixes to facilitate scene generation.
  8. Final Verification:
    • Confirm that the generated scenes contain the appropriate objects and terrain segments as per your streaming layers.

Notes:

  • Generation Time: Scene generation is resource-intensive. Ensure your system is adequately powered and monitor the process to avoid crashes.
  • Empty Folders Issue: If you encounter empty folders after generation:
    • Re-examine your streaming layer configurations.
    • Ensure all required objects are correctly tagged or nested.

Tips:

  • Backup: Before generating scenes, consider backing up your project to prevent data loss in case of unexpected issues.
  • Incremental Testing: After generating a few scenes, test loading them to ensure they’re functioning correctly before proceeding with the entire grid.