Closed FlaShG closed 5 months ago
Hi,
I've noticed an issue in 3.0.8, in ThreadedLogger.cs, starting at line 70.
3.0.8
ThreadedLogger.cs
70
public bool IsEmpty => this.jobs.IsEmpty; //... #if !UNITY_WEBGL || UNITY_EDITOR //... private ConcurrentQueue<LogJob> jobs = new ConcurrentQueue<LogJob>(); //... #endif
This means that the package cannot compile in WebGL builds, as jobs is referenced but not present.
jobs
Suggested Fix:
#if !UNITY_WEBGL || UNITY_EDITOR //... private ConcurrentQueue<LogJob> jobs = new ConcurrentQueue<LogJob>(); public bool IsEmpty => this.jobs.IsEmpty; //... #else public bool IsEmpty => true; #endif
Thank you for your report, it's going to be fixed in the next version.
Hi,
I've noticed an issue in
3.0.8
, inThreadedLogger.cs
, starting at line70
.This means that the package cannot compile in WebGL builds, as
jobs
is referenced but not present.Suggested Fix: