Search Issue Tracker
Fixed
Fixed in 6000.2.8f1, 6000.3.0a5
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}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The hover selection/highlight of items in the Insert button dropdown and the Documentation button dropdown are hard to see when hovered using the Light Editor theme
- NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
- Crash on "core::base_hash_set" when using nested [SerializeReference] fields in List<T> structures
- A ghost Game Window and multiple errors appear in the Editor when a Render Texture used by a Camera's "Target Texture" property is deleted
- Color Picker feels less smooth when dragging a Variables Color property in UI Builder Inspector
Add comment