Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

UnityEngine.SceneManagement.Scene.guid

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

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    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.
     
    RaveBox likes this.
  2. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    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.
     
    RaveBox likes this.
  3. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    584
    PLEASE
     
    RaveBox 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.