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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Resolution Note:
The issue is no longer reproducible.