Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

Thread 1: EXC_BREAKPOINT when enumerate NSMapTable in Xcode Unity

$
0
0
Hi there, I run unity project IOS build in Xcode after build successful but which has break and did not load to device. In Xcode showed "Thread 1: EXC_BREAKPOINT(.." error. Could you give any suggestion to resolve. Thanks! Function error shows as bellow: *(void)updateDisplayListCacheInUnity; { // [UIScreen screens] might be out of sync to what is indicated to the // application via UIScreenDidConnectNotification and UIScreenDidDisconnectNotification // notifications. For example, on disconnection [UIScreen screens] might still // have the screen that the display manager no longer knows about. const unsigned MAX_DISPLAYS_SUPPORTED = 8; // sync this to the value on Unity side void* screens[MAX_DISPLAYS_SUPPORTED]; unsigned screenCount = 0; UIScreen* mainScreen = [UIScreen mainScreen]; screens[screenCount++] = (__bridge void*)mainScreen; for (UIScreen* screen in _displayConnection) ***= Thread 1: EXC_BREAKPOINT(.** { if (screen == mainScreen) continue; screens[screenCount++] = (__bridge void*)screen; } UnityUpdateDisplayListCache(screens, screenCount); }*

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>