Unity3d 3.5 Breaks Syphon Implementation

Home Forums Syphon Syphon Implementations – User Unity3d 3.5 Breaks Syphon Implementation

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #5760
    AIResearcher
    Participant

    The latest build of Unity3d (3.5) crashes the Syphon Server Plugin Implementation.
    I have verified this on the latest version of the plugin demo.

    I am not sure how to go about fixing it, other than starting to comment out calls to see what doesn’t. I have attached a stack on the main thread (dispatch queue) to try to help.

    I’m not sure how many users you have on Unity3d, but we really love Syphon and use it for core functionality.

    11 libmono.0.dylib 0x0271ff5d mono_sigsegv_signal_handler + 498
    12 libSystem.B.dylib 0x989c705b _sigtramp + 43
    13 ??? 0xffffffff 0 + 4294967295
    14 com.apple.GeForceGLDriver 0x8f1b96f2 gldFinish + 85426
    15 com.apple.GeForceGLDriver 0x8f1a0d88 gldUpdateDispatch + 1496
    16 GLEngine 0x2963b7c3 gleDoSelectiveDispatchCore + 267
    17 GLEngine 0x295669d5 glClear_Exec + 131
    18 libGL.dylib 0x903b31f9 glClear + 27
    19 …02.syphon.SyphonUnityPlugin 0x05fdb538 syphonClientUpdateTexture + 719
    20 ??? 0x35de33ba 0 + 903754682
    21 ??? 0x35de2f0c 0 + 903753484
    22 ??? 0x354391ef 0 + 893620719
    23 libmono.0.dylib 0x02727084 mono_jit_compile_method + 1283
    24 libmono.0.dylib 0x0286f0a4 mono_runtime_invoke + 133
    25 com.unity3d.UnityEditor3.x 0x00b42b9f MonoBehaviour::InvokeOnRenderObject() + 751

    #5766
    bangnoise
    Keymaster

    Brian Gibson who does most of the Unity work has an update – drop him a line to get hold of it.

    https://twitter.com/#!/briangibson

    #5767
    vade
    Keymaster

    We really need to get him to dump that on to SVN. Im doing a job with him, so I’ll bug him about it later today when I see him.

    #5770
    AIResearcher
    Participant

    Thanks for the message. I tweeted him. Would love to get a hold of it and help test it out.

    I appreciate all of the support Syphon has given us over the past year.

    #5775
    bangnoise
    Keymaster

    We’ve just put a download up. It includes some fixes made today. Let us know how you get on.

    http://syphon-implementations.googlecode.com/files/Syphon%20for%20Unity%203.5%20Public%20Beta%202%20a1.zip

    The source is now on svn as well.

    #5776
    Brian Chasalow
    Participant

    Regarding that last link bangnoise posted: there is a bug in the .bundle file relating to syphon server output from Unity. please use the fixed .bundle available at http://www.chasalow.com/Unity/SyphonUnityPlugin.bundle.zip , (just replace the .bundle with this fixed one)
    this should get updated on the SVN tomorrow.

    #5780
    bangnoise
    Keymaster
    #5781
    AIResearcher
    Participant

    Thanks for the update. I’ve been playing around with it.

    Unfortunately, although it runs fine with the example project, it seems to crash on

    GL.IssuePluginEvent((int)syphonServerTextureInstance);

    in OnRenderImage( )

    What I did was I took our project and removed all old syphon components. Then placed the scripts and newly created bundle in the plugins folder. I added the Syphon script to the root game object and a SyphonServerTexture to our camera.

    I’ve been trying to narrow down the issue. I got to the point where I ripped out all the original game objects and have just two, a Syphon script and a default camera. I’ve also been looking through all the various settings (default resolution, quality settings, render path (forward / deferred lighting / etc…) to try to see what about my project is the problem. I will continue to debug as much as I am able, I just wanted to let you know what I was doing in case I didn’t set it up properly and let you know that I am excited to have an update to help debug.

    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 libSystem.B.dylib 0x989c1c5a __kill + 10
    1 libSystem.B.dylib 0x989c1c4c kill$UNIX2003 + 32
    2 libSystem.B.dylib 0x98a545a5 raise + 26
    3 libSystem.B.dylib 0x98a6a6e4 abort + 93
    4 libmono.0.dylib 0x027a71c8 mono_handle_native_sigsegv + 327
    5 libSystem.B.dylib 0x989c705b _sigtramp + 43
    6 ??? 0xffffffff 0 + 4294967295
    7 libSystem.B.dylib 0x98a545a5 raise + 26
    8 libSystem.B.dylib 0x98a6a6e4 abort + 93
    9 com.unity3d.UnityEditor3.x 0x0145a313 LaunchBugReporter(BugReportMode) + 1139
    10 libmono.0.dylib 0x027e83e7 mono_chain_signal + 76
    11 libmono.0.dylib 0x0271ff5d mono_sigsegv_signal_handler + 498
    12 libSystem.B.dylib 0x989c705b _sigtramp + 43
    13 ??? 0xffffffff 0 + 4294967295
    14 libmono.0.dylib 0x0286f0a4 mono_runtime_invoke + 133
    15 …02.syphon.SyphonUnityPlugin 0x2a74fb4a SyphonCacheData::~SyphonCacheData() + 2168
    16 com.apple.Foundation 0x96af0db3 _nsnote_callback + 176
    17 com.apple.CoreFoundation 0x901ec763 __CFXNotificationPost + 947
    18 com.apple.CoreFoundation 0x901ec16a _CFXNotificationPostNotification + 186
    19 com.apple.Foundation 0x96ae5c50 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
    20 info.v002.Syphon 0x2a75b22e -[SyphonUnitySyphonServerDirectory handleServerAnnounce:] + 461
    21 com.apple.Foundation 0x96af0db3 _nsnote_callback + 176
    22 com.apple.CoreFoundation 0x9022aabb __CFXNotificationHandleMessage + 587
    23 com.apple.CoreFoundation 0x9022a80e __CFXNotificationReceiveFromServer + 270
    24 com.apple.CoreFoundation 0x901d36d2 __CFMachPortPerform + 338
    25 com.apple.CoreFoundation 0x901cf43b __CFRunLoopRun + 6523
    26 com.apple.CoreFoundation 0x901cd3c4 CFRunLoopRunSpecific + 452
    27 com.apple.CoreFoundation 0x901cd1f1 CFRunLoopRunInMode + 97
    28 com.apple.HIToolbox 0x9211be04 RunCurrentEventLoopInMode + 392
    29 com.apple.HIToolbox 0x9211bbb9 ReceiveNextEventCommon + 354
    30 com.apple.HIToolbox 0x9211ba3e BlockUntilNextEventMatchingListInMode + 81
    31 com.apple.AppKit 0x904bf595 _DPSNextEvent + 847
    32 com.apple.AppKit 0x904bedd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
    33 com.apple.AppKit 0x904811f3 -[NSApplication run] + 821
    34 com.apple.AppKit 0x90479289 NSApplicationMain + 574
    35 com.unity3d.UnityEditor3.x 0x01470f97 main + 983
    36 com.unity3d.UnityEditor3.x 0x000e5345 _start + 208
    37 com.unity3d.UnityEditor3.x 0x000e5274 start + 40

    #5782
    AIResearcher
    Participant

    I seemed to have fixed the problem!

    I accidentally did not keep the directory structure for the .cs files inside the plugins directory. Restoring them to the proper places inside the plugins/ folder seems to have fixed the problems.

    I will continue testing and let you know what I find on the google code SVN.

    #5787
    kyy921
    Participant

    I try to reveice Arena’s video into unity35 but it dont successul, unity can’t find the server by arena~~ the 34 version at least can find the first server

    #5788
    Brian Chasalow
    Participant

    read the readme.txt: While the game is stopped, click the server name on the Syphon script, and click ‘add’. look at your SyphonClientTexture script you wish to receive video on, and change the appName / name to match.

    Expect future updates to take care of some of these details for you, but for now, i’m curious: what part of the instructions are confusing? thanks.
    Brian

    #5826
    kyy921
    Participant

    im still so confused by how to get connect with unity35 and other software, in 34 its so easy~~ but 35,,,,,, http://ww1.sinaimg.cn/bmiddle/67a78674gw1drtuxub6qgj.jpg http://ww1.sinaimg.cn/bmiddle/67a78674gw1drtuyhea06j.jpg I do it like this , but nothing can get on my texture~~ help~~~ T T

    #5828
    Brian Chasalow
    Participant

    on SyphonClientTexture, client app name should be “Quartz Composer” (no quotes) and client name should be “Untitled”

    #5931
    nodfnord
    Participant

    Getting an error on sample launch.
    seems to be with line 513: GL.IssuePluginEvent(updateContext);

    #5932
    bangnoise
    Keymaster

    nodfnord – Unity version, plugin version, what is the error message, log, etc. etc. etc.

    #5933
    nodfnord
    Participant

    nvm. accidentally launched in 3.4. current plugin is confirmed working on 3.5.1

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.