KlakNDI icon indicating copy to clipboard operation
KlakNDI copied to clipboard

Built-In Render Pipeline Support

Open dotcomadot opened this issue 2 years ago • 4 comments

Hello,

I'm testing the plugin to stream video from an old Unity project that was made using built-in render pipeline, works fine when the app is executed from the editor, but doesn't work when the solution is compiled, any ideas how to solve this ?

dotcomadot avatar Jul 20 '22 18:07 dotcomadot

I don't have any idea. Could you provide a minimal project reproducing the issue?

keijiro avatar Jul 21 '22 01:07 keijiro

I ran into this issue just now myself. The player log reads this:

The referenced script (Klak.Ndi.NdiResources) on this Behaviour is missing!

The referenced script on this Behaviour (Game Object '<null>') is missing!

A scripted object (probably Klak.Ndi.NdiResources?) has a different serialization layout when loading. (Read 44 bytes but expected 68 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

The referenced script (Klak.Ndi.NdiReceiver) on this Behaviour is missing!

v2020.3.4f1 LWRP

Here's a minimal zipped up project: https://drive.google.com/file/d/1SjVSVKemVxMmy99-xe7We5_lZpem5M1S/view?usp=sharing

theGaffe avatar Jul 23 '22 21:07 theGaffe

Found the solution. I noticed in the Klak.Ndi.Runtime settings it was set to only be for 64 bit windows, not 32. I set my build settings to output to 64 bit, and it worked. I realize now that that is stated in the readme, but I often forget to change that in the build settings in my projects.

theGaffe avatar Jul 24 '22 00:07 theGaffe

@theGaffe That's right. As noted on README.md, this plugin only supports x64.

keijiro avatar Jul 24 '22 04:07 keijiro

I'm closing this issue now. Please reopen it for further problems.

keijiro avatar Aug 16 '22 09:08 keijiro