Search Issue Tracker

Duplicate

Votes

0

Found in

2022.2.0b4

Issue ID

UUM-11058

Regression

Yes

Null Asset error is thrown on opening HDRP Sample Scene

-

Steps to reproduce:
1. Open HDRP Sample
2. Observe the Console

Reproduced in: 2022.2.0b4, 2023.1.0a5
Not reproduced in: 2022.2.0b3, 2023.1.0a4

Reproduces on: MacOS, Windows, Linux

Notes:
- Full error message:
(Null Asset) : Exception while compiling expression graph: System.ArgumentException: This method should not be called on a disabled block at UnityEditor.VFX.VFXCodeGenerator.BuildBlock (UnityEditor.VFX.VFXContextCompiledData contextData, System.Collections.Generic.List`1[T] linkedEventOut, UnityEditor.VFX.VFXShaderWriter blockFunction, UnityEditor.VFX.VFXShaderWriter blockCallFunction, System.Collections.Generic.HashSet`1[T] blockDeclared, System.Collections.Generic.Dictionary`2[TKey,TValue] expressionToName, UnityEditor.VFX.VFXBlock block, System.Int32& blockIndex) [0x00360] in /Users/*username*/Desktop/My project (67)/Library/PackageCache/com.unity.visualeffectgraph@15.0.0/Editor/Compiler/VFXCodeGenerator.cs:926

  1. Resolution Note:

    The bug was identified as a duplicate. The symptom is different but the root cause is the same. The fix for 7785 was tested and it also fixes this bug.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-7785

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.