Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
The issue is no longer reproducible.
Resolution Note (2023.1.X):
The issue is no longer reproducible.