Skip to content

Commit 2b93e98

Browse files
committed
fix an issue where logwriters list on maplogger wasn't initialized
1 parent f7e6489 commit 2b93e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Mapbox/MapDebug/Scripts/MapLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class MapLogger : MonoBehaviour
1111
{
1212
public Text LogText;
1313
public bool PrintScreen = true;
14-
public List<ILogWriter> LogWriters;
14+
public List<ILogWriter> LogWriters = new List<ILogWriter>();
1515
private string _path;
1616
private GUIStyle style;
1717
private List<string> _screenLogs;

0 commit comments

Comments
 (0)