Search Issue Tracker

Fixed in 5.4.1

Votes

13

Found in

5.2.0f3

Issue ID

767034

Regression

Yes

[GPUProfiler] "!query->pending" errors when doing GPU profiling of Windows standalone in 5.4/5.3

Profiling

-

Steps to reproduce:

1. Open Unity on Windows (DX11 mode);
2. Create new project or open attached one;
3. Go to Build Settings (File -> Build Settings);
4. Switch platform to PC, Mac & Linux Standalone;
5. Check 'Development Build' and 'Autoconnect Profiler' options;
6. Build&Run the project;
7. When scene loads switch to opened Profiler window;
8. Choose Add Profiler -> GPU;
9. Observe Editor console.

Actual result:
Weird uninformative errors are spammed to the console when adding GPU profiler:

"!query->pending"

See attached screenshot and gif video.

Same errors are thrown in Editor when exiting Play with GPU profiler enabled after having received the following error firstly in Standalone build.

Regression introduced somewhere between 5.3.0a3 and 5.3.0b6.

Expected result:
"!query->pending" errors should not be displayed when adding GPU profiler.

Notes:
- Reproduces in 5.4.0b4, 5.3.0f3 and 5.2.0f3, 5.3.0b6;
- Doesn't repro in 5.3.0a3;
- Doesn't repro in OSX 10.11.3 and Windows in GLCore mode. In this case message telling that graphics driver doesn't support GPU profiling is displayed;
- The issue may be GPU hardware-related (getting repro on GeForce 640M).

Comments (4)

  1. 4d31b380a4b555456686f8ee7247246f?d=mm

    V0odo0

    Nov 10, 2016 17:27

    I'm getting the same with Radeon R7 200. Seems like this is hardware issue with some AMD cards.

  2. 5e6ef601b51c4e53925f416426af9991?d=mm

    zwxbest

    Oct 27, 2016 02:15

    unity 5.4.0f3-HTP,and UWP platform.
    still get this error when add GPU profiler

  3. 676f44a4d33119adb330c991e5ad3a93?d=mm

    Nition

    Sep 09, 2016 02:37

    I'm seeing this is Unity 5.4 with a Radeon 7850.

  4. E98d02493eaeae580d13f209db788384?d=mm

    andSol

    May 09, 2016 08:12

    The problem was already reported back in 2014. Since then, there was never a word by Unity staff. At least, reading your description, I have learned that disabling the GPU profiler makes it go away. Really, with that major bug and so many inaccuracies going on in the GPU profiler, it shouldn't really be considered anything more than a tool in very early beta version.

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.