Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RateManager fixed using Debugger instead of RateDebug inside a !UNITY_2019_3_OR_NEWER preprocessing directive #1

Merged
merged 1 commit into from
Jul 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Runtime/RateManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ private int CalculateTargetFixedUpdateRate(IEnumerable<FixedUpdateRateRequest> r
private void LogRenderIntervalNotSupportedOnce() {
if (this._loggedRenderIntervalNotSupported) return;
this._loggedRenderIntervalNotSupported = true;
if (Debugger.IsLogLevelActive(LogLevel.Warning)) {
Debugger.Log(LogLevel.Warning, $"render interval is only supported on Unity 2019.3 or newer");
if (RateDebug.IsLogLevelActive(RateLogLevel.Warning)) {
RateDebug.Log(RateLogLevel.Warning, $"render interval is only supported on Unity 2019.3 or newer");
}
}

Expand Down