We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caa542c commit fa6f411Copy full SHA for fa6f411
Runtime/Scripts/Sensors/RGBCamera/ZORGBCamera.cs
@@ -126,8 +126,6 @@ protected override void ZOOnValidate() {
126
if (_postProcessMaterial == null) {
127
#if UNITY_EDITOR
128
_postProcessMaterial = Resources.Load<Material>("ZORGBPostProcessMaterial");
129
-#else // UNITY_EDITOR
130
- _postProcessMaterial = ZOROSUnityManager.Instance.DefaultAssets.LoadAsset<Material>("ZORGBPostProcessMaterial");
131
#endif // UNITY_EDITOR
132
}
133
0 commit comments