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 241068c commit 733772cCopy full SHA for 733772c
Runtime/Scripts/GameRecorder.cs
@@ -81,7 +81,7 @@ void Start()
81
_gameHeight = Screen.height - (Screen.height % 4);
82
83
// if custom render texture is not set and the screen w and h is not divisible by 4, print a warning
84
- if (CaptureRenderTexture == null && (_gameWidth % 4 != 0 || _gameHeight % 4 != 0))
+ if (CaptureRenderTexture == null && (Screen.width % 4 != 0 || Screen.height % 4 != 0))
85
{
86
UnityEngine.Debug.LogWarning("Current screen width and height are not divisible by 4. " +
87
"This may cause severe performance issues.");
0 commit comments