Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.66f1

6000.3.5f1

6000.4.0b4

6000.5.0a5

Issue ID

UUM-132293

Regression

No

"Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times

Profiling

-

Steps to reproduce:

  1. Create a new Unity project using the Universal 3D template
  2. Go to File > Build Profiles
  3. Enable "Development Build" and "Autoconnect Profiler"
  4. Build and Run the project
  5. Once built, observe the data is being recorded in the Profiler
  6. In the Profiler, click on the recording button 4 times (to disable - enable - disable - enable)
  7. Focus back on the Player and observe the Console and Profiler

Actual results: "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded

Expected results: No error and the profiler data continues recording

Reproducible with versions: 2023.1.0b1, 6000.0.66f1, 6000.3.5f1, 6000.4.0b4, 6000.5.0a5

Tested on (OS): Windows 11

Notes:

  • Could not reproduce on macOS 26.2
  • It appears to be caused by the fact that no data is gathered after the first re-enablement

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.