Search Issue Tracker

Fixed

Fixed in 2022.2.0b5, 2023.1.0a5

Votes

0

Found in

2022.2.0b4

Issue ID

UUM-19294

Regression

Yes

[URP] Opaque Textures setting causes errors and removes mesh when selecting child Packed Prefab

--

-

How to reproduce:
1. Open the user-attached project
2. Select the UniversalRP-HighQuality asset in the Project window
3. Turn on the “Opaque Texture” setting
4. In the Project window search for “2m”
5. Open the “industrial_mezzanine_2m” Prefab
6. Select the “industrial_mezzanine_2m” Packed Prefab in the Hierarchy window
7. Open the Console window

Expected result: Mesh remains and no errors are thrown
Actual result: “NullReferenceException” is constantly thrown

Reproducible with: 14.0.3 (2022.2.0a16, 2022.2.0b4)
Not reproducible with: 10.10.1 (2020.3.41f1), 12.1.7 (2021.3.12f1), 13.1.8 (2022.1.21f1), 14.0.3 (2022.2.0a15, 2022.2.0b5), 15.0.0 (2023.1.0a5), 15.0.1 (2023.1.0a17)
Couldn’t test with: 14.0.3 (2023.1.0a1), 15.0.0 (2023.1.0a4) - Crash on: VFXBatch::AddInstance()

Reproducible on: macOS Monterey 12.6 (Intel)

Note: If the “Opaque Texture” setting is turned off, the issue no longer reproduces

  1. Resolution Note (fix version 2023.1.0a5):

    Fixed in: 2023.1.0a5

  2. Resolution Note (fix version 2022.2.0b5):

    Fixed in: 2022.2.0b5

Comments (1)

  1. Varcx

    Mar 03, 2024 20:41

    Issue Description:

    I am encountering an issue in Unity 2022.3.0 where enabling the "Opaque Texture" setting in the Universal Render Pipeline (URP) causes errors or unexpected behavior during prefab editing.

    Steps to Reproduce:

    1. Open Unity 2022.3.0.
    2. Open a project using the Universal Render Pipeline (URP).
    3. Enable the "Opaque Texture" setting in the URP settings.
    4. Attempt to open a prefab in the editor.
    5. Open the Console Window

    Expected Behavior:

    Opening prefabs in the editor should not result in errors or rendering issues when the "Opaque Texture" setting is enabled. The editor should function normally, allowing for prefab editing without interruptions.

    Actual Behavior:

    When attempting to open prefabs in the editor with the "Opaque Texture" setting enabled, “NullReferenceException” is constantly thrown

    Note: If the “Opaque Texture” setting is turned off, the issue no longer reproduces.

    Additional Information:

    Unity Version: 2022.3.0
    Universal Render Pipeline (URP) Version: 14.0.7
    Platform/OS: Windows 11
    Graphics Hardware: NVIDIA GeForce RTX 3060

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.