Search Issue Tracker

Fixed

Fixed in 2021.3.30f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a1

Votes

0

Found in

2021.3.26f1

2022.3.1f1

2023.1.0b19

2023.2.0a17

Issue ID

UUM-37729

Regression

No

"ArgumentNullException: Value cannot be null" error is thrown when selecting a Visual Element with a custom Render Texture set as a background

--

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. In the Project Window, double-click on the “Assets/Example/UXMLDocument.uxml” asset
3. In the UI Builder Window, under the Hierarchy tab, select UXMLDocuent.uxml > Visual Element
4. Observe the Console Window

Expected result: No errors are thrown
Actual result: “ArgumentNullException: Value cannot be null" error is thrown

Reproducible with: 2021.3.26f1, 2022.3.1f1, 2023.1.0b19, 2023.2.0a17
Could not test with: 2020.3.48f1 (error CS0103: The name 'Blitter' does not exist in the current context)

Reproducible on: Intel MacOS 13.3.1

  1. Resolution Note (fix version 2023.3.0a1):

    Fixed UUM-37729 @martinpa:
    UI Toolkit: Fixed an issue in the UI Builder that would cause an exception when using a CustomRenderTexture where a RenderTexture was expected.

  2. Resolution Note (fix version 2023.2.0b6):

    Fixed UUM-37729 @martinpa:
    UI Toolkit: Fixed an issue in the UI Builder that would cause an exception when using a CustomRenderTexture where a RenderTexture was expected.

  3. Resolution Note (fix version 2023.1.10f1):

    Fixed UUM-37729 @martinpa:
    UI Toolkit: Fixed an issue in the UI Builder that would cause an exception when using a CustomRenderTexture where a RenderTexture was expected.

  4. Resolution Note (fix version 2022.3.8f1):

    Fixed UUM-37729 @martinpa:
    UI Toolkit: Fixed an issue in the UI Builder that would cause an exception when using a CustomRenderTexture where a RenderTexture was expected.

  5. Resolution Note (fix version 2021.3.30f1):

    Fixed UUM-37729 @martinpa:
    UI Toolkit: Fixed an issue in the UI Builder that would cause an exception when using a CustomRenderTexture where a RenderTexture was expected.

Add comment

Log in to post comment