Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

0

Found in

6000.0.54f1

6000.1.12f1

6000.2.0b10

6000.3.0a2

Issue ID

UUM-111630

Regression

No

Create from template option throws "NullReferenceException" error

-

*Steps to reproduce:*
1. Create new Unity project
2. Create new VFX Graph asset

3. In the toolbar, click "+" sign

4. Click "create from template" option
5. Observe the Console window 

*Actual results:* Error is thrown-
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXView.CreateNewFromTemplate (System.String templatePath, System.String assetPath) (at ./Library/PackageCache/com.unity.visualeffectgraph@0df678e2a1ec/Editor/GraphView/Views/VFXView.cs:1795)
{code}
*Expected results:* No exception when creating an asset from template in subgraphs or vfx asset

*Reproducible with versions:* 17.0.4 (6000.0.54f1),17.1.0 (6000.1.12f1), 17.2.0 (6000.2.0b10), 17.3.0 (6000.3.0a2)

*Tested on (OS):* macOS Silicon, Sequoia 15.5 (M1)

*Notes:*
*  *6000.0.54f1* and *6000.1.12f1* versions do not reproduce the error. Sometimes different error appears (probably when adding Simple Trail, unable to find consistency):
{code:java}
Exception while getting value for slot direction of type UnityEditor.VFX.VFXSlotFloat3: System.ArgumentException: Field center defined on type UnityEditor.VFX.AABox is not a field on the target object which is of type UnityEditor.VFX.DirectionType.{code}

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.