Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

6

Found in

2021.2

2021.2.0b7

2022.1

Issue ID

1357865

Regression

No

Multiple Profiler errors thrown when Profiler is open in Play mode

Profiling

-

How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/Level1
3. Press the Play button
4. Observe the Console
5. Open the Profiler by going to Window -> Analysis -> Profiler
6. Observe the Console

Expected result: no Profiler errors thrown
Actual result: multiple Profiler errors thrown (Non matching Profiler.EndSample, Missing Profiler.EndSample)

Reproducible with: 2021.2.0b9, 2022.1.0a6
Could not test with: 2019.4.30f1, 2020.3.17f1, 2021.1.18f1 (cannot resolve errors after downgrading the user's project (error CS8124: Tuple must contain at least two elements; error CS1526: A new expression requires (), [], or {} after type))

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.2.0a1

  2. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0b6

  3. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.12f1

Comments (9)

  1. Mipumi_Alex

    Aug 01, 2024 09:42

    Still happens in 2022.3.7f1

  2. Propagant

    May 20, 2024 15:57

    Still happens in 2022.3.29f1.
    Non-matching Profiler.EndSample (Every EndSample call must have a preceding BeginSample call within the same frame): GrabPassNoTransparency
    Previous 5 samples:
    Gfx.SetRenderTarget
    RenderTexture.ResolveAA
    GrabPassNoTransparency
    GrabPassNoTransparency
    GrabPassNoTransparency
    In the scope:
    GrabPassNoTransparency
    ScriptableRenderer.Execute: URP-HighFidelity-Renderer

  3. ATGC01

    May 05, 2024 06:01

    still happend, 2023.2.16f1

  4. oAzuehT

    May 04, 2024 18:14

    2023.2.20f1

  5. unity_FDA2D5B74B9DC1A7B154

    Oct 05, 2023 17:49

    Still happens in 2022.3.8f1

  6. ikeuchi-yuya

    Mar 29, 2023 11:51

    still happen, 2021.3.20f1

  7. yusuke_sato_izng

    Jan 04, 2023 06:26

    still happen with specific shader had been created with shadergraph, 2021.3.16f1

  8. GuyLevy

    Dec 13, 2022 13:29

    Still happens in 2021.3.5f1

  9. StenCG

    Jul 15, 2022 08:07

    still happen, 2021.3.5f1

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.