Search Issue Tracker
Fixed in 10.1.0
Fixed in 7.5.2, 8.3.1
Votes
1
Found in [Package]
7.2.1
Issue ID
1222676
Regression
No
The error occurs when a Render Texture, which has a certain Color Format, is applied to the Camera's Output Target
How to reproduce:
1. Open the project "case_1222676-URPcamera"
2. Open the scene "SampleScene"
3. Select the GameObject "Main Camera" in the Hierarchy
4. Drag "New Render Texture" from the Project window to the Texture field in the Output module in the Camera component of the Inspector
5. Observe the results in the Console window
Expected results: there are no errors in the Console window
Actual results: there are errors "Assertion failed on expression: 'graphicsFormat != kFormatNone" in the Console window
Reproducible with: 7.1.2 (2019.3.0b4, 2019.3.3f1, 2020.1.0a25), 7.2.1 (2019.3.3f1, 2020.1.0a25, 2020.2.0a1)
Could not test with: LWRP (2017.4.37f1, 2018.4.18f1), 7.1.1 because the Camera component does not have the Output module
Notes:
1. It is reproducible only with the Camera component which has additional URP properties
2. It is not reproducible with HDRP and Default RP
3. It is reproducible with any Dimension of the Render Texture
4. It is reproducible with these Color Formats of the Render Texture:
SNORM formats,
UINT formats (except R16G16B16A16_UINT),
SINT formats (except formats with 32-bit components)
and
R4G4B4A4_UNORM_PACK16,
R5G6B5_UNORM_PACK16,
R5G5B5A1_UNORM_PACK16,
A1R5G5B5_UNORM_PACK16
-
veggiesama
Sep 13, 2020 00:35
I fixed the error messages by changing the Color Format of all my Render Textures from R8G8B8A8_SNORM to R32G32B32A32_SFLOAT.
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
- [iOS] Back Triple Camera is not focusing manually and automatically
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
Resolution Note (fix version 10.1.0):
The error will no longer occur if the render texture isn't supported.
Resolution Note (fix version 8.3.1):
Fixed in - URP 8.3.1
Resolution Note (fix version 7.5.2):
Fixed in - URP 7.5.2