KlakNDI
KlakNDI copied to clipboard
Built-In Render Pipeline Support
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 ?
I don't have any idea. Could you provide a minimal project reproducing the issue?
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
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 That's right. As noted on README.md, this plugin only supports x64.
I'm closing this issue now. Please reopen it for further problems.