Skip to content

Commit ee25278

Browse files
committed
Potential fix for "No such proxy method" error when "Receive Logcat Logs in Android" is enabled
1 parent b120470 commit ee25278

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Plugins/IngameDebugConsole/Android/DebugLogLogcatListener.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if !UNITY_EDITOR && UNITY_ANDROID
1+
#if UNITY_EDITOR || UNITY_ANDROID
22
using System.Collections.Generic;
33
using UnityEngine;
44

@@ -37,6 +37,7 @@ public void Stop()
3737
nativeObject.Call( "Stop" );
3838
}
3939

40+
[UnityEngine.Scripting.Preserve]
4041
public void OnLogReceived( string log )
4142
{
4243
queuedLogs.Enqueue( log );

0 commit comments

Comments
 (0)