Open Babilinski opened 2 months ago
Thank you for the contribution! It looks no problem. I'm only curious about contents of the log when the Android architecture is not supported.
Debug.LogWarning(
$"WebRTC apps require a target architecture to be set {RequiredAndroidArchitectures}. " +
$"Currently set to {PlayerSettings.Android.targetArchitectures}");
Ahh I see, the warning would log the following message:
"WebRTC apps require a target architecture to be set ARM64, X86_64. Currently set to X86_64"
How do you feel about updating the wording to log this message instead?
"WebRTC apps are only supported on the following CPU architectures: ARM64, X86_64. Current target architecture set to: X86_64"
By changing the code to :
Debug.LogWarning(
$"WebRTC apps are only supported on the following CPU architectures: {RequiredAndroidArchitectures}. " +
$"Current target architecture set to: {PlayerSettings.Android.targetArchitectures}");
Updated the Build Processor script to prevent logging a warning when building for Android x86_64 architecture since it is now supported.