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. Dismiss Notice

Bug Built-in Profiler is unable to save frame larger than 2GB

Discussion in 'Profiler Previews' started by Peter77, Mar 15, 2021.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,390
    I was Deep Profiling "Enter PlayMode" using the built-in Profiler from Unity 2019.4.20f1. I then tried to save the capture, but the tool didn't let me and decided displayed the error instead:
    Unable to save profiler frame 54 to file "test.data": frame size is larger than 2GB
     
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,096
    Hi Peter,
    We are aware of this limitation. The log message was added as surpassing the 2GB threshold previously just crashed, as the .data format is inadequate to deal with frames this big, so now they are dropped (Obv. not an ideal solution). Also see this other recent thread:
     
    Peter77 likes this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,390
    Thank you for the quick response.
     
    MartinTilo likes this.