Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

UnityEngine.SceneManagement.Scene.guid

Discussion in '2017.2 Beta' started by Foriero, Jul 28, 2017.

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    582
    Hi, would it be possible to include int UnityEngine.SceneManagement.Scene object also guid of the SceneAsset that it correspond to? Now we have path which is very nice. We are working on SceneManager and need to identify each scene as they correspond to SceneAsset. So if you are able to also add guid to Scene object it would be very helpful.
    Thanks, Marek.
     
    RaveOnTheGrave likes this.
  2. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    582
    Please can you add string guid to built Scene object.

    UnityEngine.SceneManagement.Scene.guid = SceneAsset.guid.ToString();

    It should be simple enough. Just add into scene string guid; and where you set Scene.path on the same place set Scene.guid.

    Please.

    M.
     
    RaveOnTheGrave likes this.
  3. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    582
    PLEASE
     
    RaveOnTheGrave likes this.
  4. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    You don't request things at the forums but at the feedback site from where it might get evaluated and prioritized.