Search Issue Tracker

Fixed

Fixed in 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a11

Votes

0

Found in

2022.3.9f1

2023.1.15f1

2023.2.0b11

2023.3.0a7

Issue ID

UUM-49802

Regression

No

Creating material variant produces errors if there is no Materials folder

--

-

Steps to reproduce:
1. Open attached project "URPSprite.zip" and scene "SampleScene"
2. In Hierarchy window, select SampleCharacter GameObject
3. In Inspector window, Lit (Material) Component, press the hamburger (three dot) menu -> Create Variant for Renderer
4. Observe Console window

Expected result: No errors
Actual result: "Can't create asset because path is empty." "UnityException: Creating asset at path  failed." errors

Reproducible with: 2022.3.9f1, 2023.1.15f1, 2023.2.0b11, 2023.3.0a7
Could not test with: 2021.3.30f1 (material variant creation not available)

Reproduced on: Windows 10

  1. Resolution Note (fix version 2023.3.0a11):

    Fixed in 2023.3.0a11

  2. Resolution Note (fix version 2023.2.0b17):

    Fixed in 2023.2.0b17

  3. Resolution Note (fix version 2023.1.20f1):

    Fixed in 2023.1.20f1

  4. Resolution Note (fix version 2022.3.13f1):

    Fixed in 2022.3.13f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.