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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug [Standalone Profiler] Errors on Startup

Discussion in 'Profiler Previews' started by Baste, Nov 23, 2020.

  1. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,224
    Code (csharp):
    1.  
    2. UnityException: GetInt is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'ProfilerWindow'.
    3. See "Script Serialization" page in the Unity Manual for further details.
    4. UnityEditorInternal.Profiling.MemoryProfilerModule..ctor () (at <8f44d91b549e47c9883e180579f26ef6>:0)
    5. UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
    6. UnityEditor.ProfilerProcess:InitializeProfilerSlaveProcess()
    7.  
    Code (csharp):
    1.  
    2. UnityException: GetInt is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'ProfilerWindow'.
    3. See "Script Serialization" page in the Unity Manual for further details.
    4. UnityEditorInternal.Profiling.AudioProfilerModule..ctor () (at <8f44d91b549e47c9883e180579f26ef6>:0)
    5. UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
    6. UnityEditor.ProfilerProcess:InitializeProfilerSlaveProcess()
    7.  
    Happens whenever I boot the standalone profiler. Unity 2020.1.13f1.