{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Automatic components selection | Dedicated Server | 0.10.0
docs.unity3d.com
Search Results for

    Automatic components selection

    You can also select which specific components should be present/removed from the project scenes and prefabs in the different multiplayer roles. When building or entering play mode, Unity will automatically strip the corresponding Components including its subclasses.

    The list of components striped by the options is the following.

    • Strip Rendering Components:
      • Camera component.
      • Light component.
      • All components inheriting from Render.
    • Strip UI Components:
      • All UIElements components.
      • All components in UnityEngine.UI namespace.
      • All components in UnityEngine.EventSystems namespace.
      • UnityEngine.UIElements.PanelEventHandler component.
      • UnityEngine.UIElements.PanelRaycaster component.
    • Strip Audio Components:
      • UnityEngine.AudioSource component.
      • UnityEngine.AudioLowPassFilter component.
      • UnityEngine.AudioHighPassFilter component.
      • UnityEngine.AudioReverbFilter component.
      • UnityEngine.AudioListener component.
      • UnityEngine.AudioReverbZone component.
      • UnityEngine.AudioDistortionFilter component.
      • UnityEngine.AudioEchoFilter component.
      • UnityEngine.AudioChorusFilter component.

    Workflow

    • In the Project Settings window, select the Multiplayer settings
    • In the Content Selection section, add the list of components to be selected for the Server or Clients.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)