How to reproduce:
1. Open the user's attached "profiler-bug.zip" project
2. Open the Scene "SampleScene"
3. Open the Profiler (Window->Analysis->Profiler)
4. Add the "Bug" Module to the Profiler (top-left of Profiler Profiler Modules->check "Bug")
5. Make sure the Profiler is recording Play Mode
6. Enter the Play Mode, record some data, exit the Play Mode
7. Open the Build Settings
8. Check the "Development Build" and "Autoconnect Profiler" options
9. Build and Run the Project
10. Observe the "Bug" Module in the Profiler
Expected results: The "Bug" Module's Frame Chart is being updated
Actual results: The "Bug" Module Frame Chart is empty while data is still being recorded
Reproducible with: 2021.2.16f1, 2022.1.0b12, 2022.2.0a8
Could not test with: 2019.4.37f1, 2020.3.31f1 (custom Modules were not yet introduced)