Skip to content

Commit 76ef883

Browse files
PaulDemeulenaerejulienf-unity
authored andcommitted
Fix Sample installation in URP #122
1 parent 7b60ec6 commit 76ef883

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

com.unity.visualeffectgraph/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ The version number for this package has increased due to a version update of a r
5050
- Fix [Case 1114281](https://fogbugz.unity3d.com/f/cases/1114281/)
5151
- Fix [Case 1268354](https://fogbugz.unity3d.com/f/cases/1268354/)
5252
- Fix [Case 1281861](https://issuetracker.unity3d.com/product/unity/issues/guid/1281861/)
53+
- Unexpected exception while installing samples inside an URP project [Case 1280065](https://issuetracker.unity3d.com/product/unity/issues/guid/1280065/)
5354

5455
## [7.4.1] - 2020-06-03
5556

com.unity.visualeffectgraph/Editor/Models/Contexts/VFXSubgraphContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public void RecreateCopy()
167167
var graph = resource.GetOrCreateGraph();
168168
HashSet<ScriptableObject> dependencies = new HashSet<ScriptableObject>();
169169
graph.CollectDependencies(dependencies);
170+
dependencies.RemoveWhere(o => o == null); //script is missing should be removed from the list before copy.
170171

171172
var duplicated = VFXMemorySerializer.DuplicateObjects(dependencies.ToArray());
172173
m_SubChildren = duplicated.OfType<VFXModel>().Where(t => t is VFXContext || t is VFXOperator || t is VFXParameter).ToArray();

0 commit comments

Comments
 (0)