Comprehensive World Streamer 2 Setup for Unity

Objective:

Integrate collider-based interior scenes into the streaming layers, ensuring they are managed correctly by World Streamer 2.

Why This Step is Important:

Including interior scenes in streaming layers allows for seamless loading and unloading based on player proximity, maintaining performance while providing dynamic environments.

Detailed Instructions:

  1. Access Scene Manager:
    • Navigate to:
      Tools > Nature Manufacture > World Streamer > Scene Manager
  2. Navigate to Streaming Layers Tab:
    • Within the Scene Manager, ensure you’re on the Streaming Layers tab.
  3. Configure Collider-Based Streaming:
    • Select Appropriate Layer:
      • Choose the streaming layer designated for interiors or collider-managed scenes.
      • If not existing, consider creating a new layer, e.g., Interiors.
  4. Enable Collider-Only Scene Generation:
    • At the bottom of the Streaming Layers tab, locate and select the option:
      Generate Scenes from Colliders Only
    • Function: This setting tells World Streamer to create streaming scenes based solely on collider triggers, rather than virtual grids.
  5. Initiate Scene Generation:
    • Click the Generate Scenes from Colliders Only button.
    • World Streamer will scan for collider zones tagged with ColliderStreamerManager and create corresponding streaming scenes.
  6. Verify Scene Creation:
    • Check the Hierarchy and Project panel for newly created interior scenes.
    • Ensure each collider zone has an associated streaming scene.
  7. Repeat as Necessary:
    • If you have multiple collider zones, ensure all have corresponding scenes generated.
  8. Integrate into Build Settings:
    • Important: After generating collider-based scenes, revisit Step 14 to add these new scenes to the Build Settings.
    • This ensures they are included in the final build and can be loaded at runtime.

Notes:

  • Scene Naming: Collider-generated scenes often follow a naming convention based on the collider’s Scene Prefix.
  • Scene Dependencies: Ensure that interior scenes have all necessary dependencies and references to function correctly when loaded.

Tips:

  • Consistency: Maintain consistent naming and tagging conventions for all collider zones to streamline scene generation.
  • Testing: After generation, test each interior streaming to confirm correct loading and unloading behaviors.