Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.3.4f1
2022.1.4f1
2022.2.0a18
2023.1.0a1
Issue ID
UUM-7456
Regression
No
‘Assertion failed’ and ‘ArgumentNullException' when creating a new Material while ‘Opaque Texture’ is on
Reproduction steps:
1. Open the attached ‘URP2022' project
2. Open the ‘SampleScene’
3. Observe the ‘Assets/Settings/URP-HighFidelity’ in the Inspector
4. Toggle on the ‘Opaque Texture’ property
5. Create a new Material
6. Observe the Console
Expected result: No errors are in the Console
Actual result: Multiple ‘Assertion failed’ and ‘ArgumentNullException: Value cannot be null' are in the Console
Reproducible with: 12.1.7 (2021.3.4f1), 13.1.8 (2022.1.4f1), 14.0.3 (2022.2.0a18, 2023.1.0a1)
Could not test with: 10.9.0 (2020.3.35f1) (Default Renderer errors)
Reproduced on: MacOS 11.6 (Intel)
Note:
- The issue is not reproducible if any Camera is present in the 'SampleScene’
Comments (1)
-
UnityTestingFrostPixel
Aug 10, 2022 14:34
This is still an issue in 2022.2.0.b4 - is there an update on the issue as it seems like it's been around since 2022 alpha. I wanted to take advantage of the Forward+ renderer and test it but I can't proceed as my game has a number of opaque textures.
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note:
The issue is no longer reproducible.