Skip to content

Commit fa6f411

Browse files
committed
fixed issue with RGB camera compile fail for standalone executable.
1 parent caa542c commit fa6f411

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Runtime/Scripts/Sensors/RGBCamera/ZORGBCamera.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ protected override void ZOOnValidate() {
126126
if (_postProcessMaterial == null) {
127127
#if UNITY_EDITOR
128128
_postProcessMaterial = Resources.Load<Material>("ZORGBPostProcessMaterial");
129-
#else // UNITY_EDITOR
130-
_postProcessMaterial = ZOROSUnityManager.Instance.DefaultAssets.LoadAsset<Material>("ZORGBPostProcessMaterial");
131129
#endif // UNITY_EDITOR
132130
}
133131

0 commit comments

Comments
 (0)