Conversation
PR Reviewer Guide 🔍(Review updated until commit 9ac07b4)Here are some key observations to aid the review process:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr |
PR Code Suggestions ✨Explore these optional code suggestions:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr |
|||||||||||
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## master #657 +/- ##
==========================================
+ Coverage 36.05% 36.98% +0.92%
==========================================
Files 277 278 +1
Lines 34909 35018 +109
==========================================
+ Hits 12588 12951 +363
+ Misses 22321 22067 -254
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
/test_plan |
Test Plan
Summary of Changes & Risk AssessmentSummary of ChangesThis PR transitions the ProBuilder selection picking system to a native URP implementation. It replaces a legacy "pipeline-switching" hack with a dedicated Risk Assessment
Test ScenariosFunctional Testing
Regression Testing
🔍 Regression Deep Dive (additional risks identified)
Edge Cases
💡 This test plan updates automatically when 🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr |
I could not box select anymore.i tried the repro steps of UUM-133859. I cannot box select anymore. Is this expected? Screen.Recording.2026-03-09.at.14.09.52.mov |
|
Persistent review updated to latest commit 9ac07b4 |
thomas-tu
left a comment
There was a problem hiding this comment.
LGTM! I'm not able to approve my own PR, @lopezt-unity, I give your changes a 🍏
| Pass | ||
| { | ||
| Name "Vertices" | ||
| // Tags { "LightMode"="SRPDefaultUnlit" } |
There was a problem hiding this comment.
This could be removed
lopezt-unity
left a comment
There was a problem hiding this comment.
LGTM, mu changes were 🍏 by @thomas-tu.
Purpose of this PR
This PR updates the picking system so it properly runs on URP. We used to use an old hack in URP project: the picking system would force the BiRP to run temporarly to render the lookup texture. This is no longer something we can do due to some others packages that could react to the change of RP asset changes (example: VFX graph).
To solve this and since URP now allows render pass injection, I've created our own URP render pass and inject it when we run the picking system. URP uses HLSL so I had to migrate our CG shaders to HLSL.
Manually tested.
Links
Jira: UUM-133859