Search Unity

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

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

5.4b19 GenerateID is not allowed to be called during serialization- still present version control

Discussion in '5.4 Beta' started by freekstorm, May 28, 2016.

  1. freekstorm

    freekstorm

    Joined:
    Nov 11, 2010
    Posts:
    86
    Using PlasticSCM

    GenerateID is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'WindowPending'.
    See "Script Serialization" page in the Unity Manual for further details.
    UnityEditor.VersionControl.Provider:GenerateID()
    UnityEditorInternal.VersionControl.ListItem:.ctor() (at C:/buildslave/unity/build/Editor/Mono/VersionControl/UI/VCListItem.cs:35)
    UnityEditorInternal.VersionControl.ListControl:.ctor()
    UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
    UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
     
unityunity