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

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,336
    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.