unity EntryPointNotFoundException: getifaddrs

今天打包出现这个错误:

03-19 14:00:07.815: I/Unity(16574): EntryPointNotFoundException: getifaddrs
03-19 14:00:07.815: I/Unity(16574):   at (wrapper managed-to-native) System.Net.NetworkInformation.LinuxNetworkInterface:getifaddrs (intptr&)
03-19 14:00:07.815: I/Unity(16574):   at System.Net.NetworkInformation.LinuxNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0 
03-19 14:00:07.815: I/Unity(16574):   at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0 
03-19 14:00:07.815: I/Unity(16574): UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
03-19 14:00:07.815: I/Unity(16574): UICamera:Notify(GameObject, String, Object)
03-19 14:00:07.815: I/Unity(16574): UICamera:ProcessTouch(Boolean, Boolean)
03-19 14:00:07.815: I/Unity(16574): UICamera:ProcessTouches()
03-19 14:00:07.815: I/Unity(16574): UICamera:Update()

在网上搜索下:

Unfortunately this is a known bug in Mono for Android. The bug report is available here.

https://bugzilla.xamarin.com/show_bug.cgi?id=1969

是因为System.Net.NetworkInformation.GetAllNetworkInterfaces()在android上会报错导致的。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /opt/wordpress/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048