Skip to content

Commit dd05a05

Browse files
svc-reach-platform-supportEvergreen
authored andcommitted
[Port] [6000.3] [SRP] Fix building errors with RSUV sample
1 parent 452bd59 commit dd05a05

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Packages/com.unity.render-pipelines.core/Samples~/RendererShaderUserValue_Common/Scripts/VertexAnimationTextureBaker.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if UNITY_EDITOR
12
using UnityEngine;
23
using UnityEditor;
34
using System.Collections.Generic;
@@ -122,4 +123,5 @@ void BakeVATArray(GameObject target, List<AnimationClip> clips, int fps)
122123

123124
Debug.Log($"VAT Array (RGBAHalf) baked: {path} with {clips.Count} clips. Max frames = {maxFrames}");
124125
}
125-
}
126+
}
127+
#endif

0 commit comments

Comments
 (0)