Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.2.0b6
2023.3.0a2
Issue ID
UUM-47078
Regression
No
UI is not rendering when using "CustomRenderFeature" and "Render Scale" is set to 0,5
How to reproduce:
1. Open the "Stripped_IN_51118" project
2. Open the “SampleScene”
3. Locate the "URP-Performant-Renderer" Asset in the “Assets/Settings” and enable "Custom Render Feature"
4. Observe the Game View
Expected result: UI is rendered
Actual result: UI is not rendered
Reproducible with: 2023.2.0b6, 2023.3.0a2
Couldn't test with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1 (due to compiler errors)
Reproducible on: Windows 10 Pro
Not reproducible on: macOS 13.4.1 (Intel)
Notes:
- If the issue is not reproducible try changing the size of the Editor or Game View itself
- Reproducible on Editor and Player
- User also mentioned that if in the CustomRenderFeatureRenderPass.cs "renderPassEvent" value is changed to "RenderPassEvent.AfterRendering" changing the "Render Scale" value doesn't fix the issue
Workaround:
- Changing the "Render Scale" value in the “URP-Performant” fixes the issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
- For 2023.3: Issue is fixed in 2023.3.0a15 (November 2023) following a feature implementation that cannot be backported easily, so upgrading to latest 2023.3 will fix it.
- For 2023.2: You have the following workaround; add a game object in your scene with the following added script:
public class ScreenSpaceUIWorkaround : MonoBehaviour
{
void Start()
{
RenderPipelineManager.beginContextRendering += OnBeginContextRendering;
}
void OnBeginContextRendering(ScriptableRenderContext context, List<Camera> cameras)
{
SupportedRenderingFeatures.active.rendersUIOverlay = true;
}
void OnDestroy()
{
RenderPipelineManager.beginContextRendering -= OnBeginContextRendering;
}
}
Thanks, have a good day!