You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello !
I'm trying to have a Syphon and a window resize (by script or by hand) working together in (Unity 5.3 with openGL 2 and Syphon a17) and it crashes when launching a build of the program. When building in development mode and looking in the logs I get the following error :
Releasing render texture that is set as Camera.targetTexture!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Camera/Camera.cpp Line: 2942)
and then multiple instances of this one :
NullReferenceException: Object reference not set to an instance of an object
(Filename: /Users/anakin/code/AugmentaUnity/Assets/Plugins/Syphon/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs Line: 134)
I managed to remove the second error by adding the following snippet in the Update method of my script, but that would be great if the Syphon plugin could handle it itself :
Now my additional problem is that the player still crashes in the normal build mode, even without resizing the window, but it seems to be related to OpenGL2 (which I have to use or it doesn't work either, but the issue has been opened already).
Any thoughts ? Is it Syphon related or should I do something myself ?
Thanks !
The text was updated successfully, but these errors were encountered:
MatteoFantasy
changed the title
Crash when the player window is resized
NullReferenceException when the player window is resized
Feb 3, 2016
In "OpenGL Core" rendering mode, the Syphon output contains only random graphic card data. The output size is correct but the content is apparently never allocated/set. (issue troubles on unity 5.3 (OSX) #17)
In "OpenGL 2 (legacy)" rendering mode, starting the program with multiple displays plugged in provokes a crash. (issues n°742203 and n°742205 on the Unity3D issue tracker)
The only thing that's purely related to the window size change is the error I mentionned earlier :
NullReferenceException: Object reference not set to an instance of an object
(Filename: /Users/anakin/code/AugmentaUnity/Assets/Plugins/Syphon/SyphonTexture-AdvancedUsers/SyphonServerTextureCustomResolution.cs Line: 134)
You'll find attached a log of the error (happens on both OpenGL versions). Syphon.log.zip
Note that I managed to hotfix it with the forementioned piece of code.
Hello !
I'm trying to have a Syphon and a window resize (by script or by hand) working together in (Unity 5.3 with openGL 2 and Syphon a17) and it crashes when launching a build of the program. When building in development mode and looking in the logs I get the following error :
and then multiple instances of this one :
I managed to remove the second error by adding the following snippet in the Update method of my script, but that would be great if the Syphon plugin could handle it itself :
Now my additional problem is that the player still crashes in the normal build mode, even without resizing the window, but it seems to be related to OpenGL2 (which I have to use or it doesn't work either, but the issue has been opened already).
Any thoughts ? Is it Syphon related or should I do something myself ?
Thanks !
The text was updated successfully, but these errors were encountered: