[原]unity3D bug记录

1、u3d 发出的xcode工程 崩溃出现这种信息 Display::DisplayLinkItem::dispatch()

到AppController.mm 修改成这样

- (void) RepaintDisplayLink
{
//#if USE_DISPLAY_LINK_IF_AVAILABLE
//    [_displayLink setPaused: YES];
//
//    static const CFStringRef kTrackingRunLoopMode = CFStringRef(UITrackingRunLoopMode);
//    while (CFRunLoopRunInMode(kTrackingRunLoopMode, kInputProcessingTime, TRUE) == kCFRunLoopRunHandledSource)
//        ;
//
//    [_displayLink setPaused: NO];
//    [self Repaint];
//#endif
     [self Repaint];
}

posted @ 2014-03-21 18:51  U_探索  阅读(1038)  评论(0编辑  收藏  举报