DOTS Profiler bug 2020.2 & hybrid v2

Just updated my project to 2020.2 from 2019.3, turned on hybrid renderer v2, fixed a bunch of weird things happening. Noticed my game was MUCH laggier than before, so I opened the profiler and got this. Errors only show up with profiler open.

2 Likes

Hi :),
afaik this is an issue with the way the the RenderCommands are wrapped in ProfilerMarkers on some of the latest versions of URP (not wholly in the know about which ones, thought it was only in the public repo but not yet released) but it is in the process of getting fixed.

2 Likes

This issue was fixed some time between the latest package manager preview and the latest package from the GitHub repository (v9.0.0-preview.47). It’s a bit of extra work to get it set up, but it doesn’t throw a ton of errors any more.

2 Likes

Seems like someone should be pushing for the preview package to be updated then. If it’s this buggy compared to the github one.

Updated the RP as ryanslikesocool suggested, confirmed that it fixed the issue. Too bad this isn’t a permanent solution because I have other people in the project as well. Can we get an update to the package manager version, Unity? The profiler being broken in the current version is not okay.

1 Like

Why is the package manager version older than the github to begin with? What’s going on here?

Do you push all your code changes direct to production? :smile:

2 Likes

Fair point but it’s been a while and technically experimental anyway.