-
Notifications
You must be signed in to change notification settings - Fork 855
[HDRP] Adding a new button in HDRP+DXR Wizard to check scene content for Ray Tracing issues #5457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi! This comment will help you figure out which jobs to run before merging your PR. The suggestions are dynamic based on what files you have changed. HDRP Depending on the scope of your PR, you may need to run more jobs than what has been suggested. Please speak to your lead or a Graphics SDET (#devs-graphics-automation) if you are unsure. |
|
||
bool CheckForRTX() | ||
{ | ||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this check is "non-resolvable", this is how I ensure that users will be able to always click the button, but there may be another cleaner solution.
I dislike this idea A LOT. Wizard was always planed and designed only for PROJECT configuration. Now we open the door to scene by scene change check.
Please discuss this change with UX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check with UX (see above)
So currently it is already a menu item. |
Thanks for the feedbacks !
I agree this is debatable indeed. The initial goal was to use the "notoriety" of the wizard to bring users attention to this unknown/unused feature for raytracing setup. But maybe that's not the proper location to put it.
As of right now, we don't, but as I said in the PR description, some check done in this menu could also benefit non DXR hdrp setup (like checking if renderer has null materials, checking if meshfilter has null mesh.. etc)
I believe having a new "checker window" with this check in it, will suffer from the same problem the command menu is already suffering from: discoverability. So that's not really a solution either.
The check (as was the command menu already doing) is still going to check the current opened scene.
If you have multiple scene opened, the check will iterate through all the gamobjects in the current opened scenes and treat the multiple scenes as one big opened scene.
Only comment from @TheoWong-pixel from now is to make sure that the console will open if it's closed to be sure users won't miss messages which I believe also makes sense. However, with all your concerns, don't really know if that makes sense to still move forward with this :). |
I would advice to not go further with more windows that do check, and I am agree with RemiS. The Wizard is already a huge investment on our side and something very specific to HDRP. I don't want to make it more complex or have more functionnality, it should stay really simple. We have already enough issue reported with it, don't want to have more :D |
Let's close it then :) |
Purpose of this PR
This PR adds a "Current Scene" section (only in the HDRP+DXR Wizard).
This section contains a "check" button that triggers the "Check Scene Content For HDRP Ray Tracing" Edit > Rendering menu.
The goal of this is to inform users that this check exists and could help fix a bad setup.
It also helps to understand what this menu really checks instead of searching for clues in the doc.
CheckContentForRTX.mp4
I believe we could create other functions like to benefit HDRP only setup as well because some things in the checks (like verifying if meshes has null materials, renderer in LODs... etc could also benefit Non DXR HDRP setup.
Testing status
Tested opening the wizard with any of the tabs selected by default ✔️
Tested clicking on "Check" with and without issue to see if console was giving information properly ✔️
Tested that the menu was still working properly ✔️
Comments to reviewers
I'm open for suggestions about: