Home › Forums › Syphon › Syphon Implementations – User › Unity3d 3.5 Breaks Syphon Implementation
- This topic has 15 replies, 6 voices, and was last updated 8 years, 10 months ago by nodfnord.
-
AuthorPosts
-
March 22, 2012 at 9:32 pm #5760AIResearcherParticipant
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() + 751March 23, 2012 at 4:01 am #5766bangnoiseKeymasterBrian Gibson who does most of the Unity work has an update – drop him a line to get hold of it.
March 23, 2012 at 6:28 am #5767vadeKeymasterWe 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.
March 23, 2012 at 7:50 am #5770AIResearcherParticipantThanks 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.
March 25, 2012 at 7:04 pm #5775bangnoiseKeymasterWe’ve just put a download up. It includes some fixes made today. Let us know how you get on.
The source is now on svn as well.
March 25, 2012 at 7:36 pm #5776Brian ChasalowParticipantRegarding 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.- This reply was modified 8 years, 11 months ago by Brian Chasalow.
March 26, 2012 at 5:30 pm #5780bangnoiseKeymasterFixed download at
sorry about that
March 26, 2012 at 8:11 pm #5781AIResearcherParticipantThanks 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 + 40March 26, 2012 at 9:21 pm #5782AIResearcherParticipantI 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.
March 28, 2012 at 7:40 pm #5787kyy921ParticipantI 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
March 28, 2012 at 8:36 pm #5788Brian ChasalowParticipantread 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- This reply was modified 8 years, 11 months ago by Brian Chasalow.
April 9, 2012 at 9:39 am #5826kyy921Participantim 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
April 10, 2012 at 7:18 pm #5828Brian ChasalowParticipanton SyphonClientTexture, client app name should be “Quartz Composer” (no quotes) and client name should be “Untitled”
- This reply was modified 8 years, 11 months ago by Brian Chasalow.
May 7, 2012 at 4:20 am #5931nodfnordParticipantGetting an error on sample launch.
seems to be with line 513: GL.IssuePluginEvent(updateContext);May 7, 2012 at 4:38 am #5932bangnoiseKeymasternodfnord – Unity version, plugin version, what is the error message, log, etc. etc. etc.
May 7, 2012 at 5:10 am #5933nodfnordParticipantnvm. accidentally launched in 3.4. current plugin is confirmed working on 3.5.1
-
AuthorPosts
- You must be logged in to reply to this topic.