keijiro / KlakNDI

NDI® plugin for Unity
https://ndi.video
Other
774 stars 139 forks source link

Can't install/import the asset. #142

Closed Againstyou closed 2 years ago

Againstyou commented 2 years ago

Hi, i like to use your NDI Asset, but having a hard time to import/install the asset. Can you provide a guide or a video?

Right now i've downloaded the sourceCode (since you arent provie unitypackage anymore). I've extract the folder and add the HDRP Folder to the Unity Hub. After that editing the manifest in "packages" folder from HDRP and try to open with Unity 2021.2.7f1. I got a bunch of errors and cant open.

{
  "scopedRegistries": [
    {
      "name": "Keijiro",
      "url": "https://registry.npmjs.com",
      "scopes": [ "jp.keijiro" ]
    }
  ],
  "dependencies": {
    "jp.keijiro.klak.ndi": "2.0.2"
    "com.unity.ugui": "1.0.0",
    "com.unity.render-pipelines.high-definition": "12.0.0",
    "jp.keijiro.klak.ndi": "file:../../jp.keijiro.klak.ndi"

  }
}

Thats my manifest and the error is:

grafik

Where is the fault? Is there an easier way to just import the assets to a existing scene?

Thank you in advance!

keijiro commented 2 years ago
    "jp.keijiro.klak.ndi": "2.0.2"

The trailing comma is missing. Add , to that line.

keijiro commented 2 years ago

I'm closing this issue now. Please reopen the issue if it still reproduces.

Againstyou commented 2 years ago

Thanks for your quick reply! I still got errors. Just for clarification, is that the correct way to use the plugin? Is there anyway to just import it to an existing scene without load your whole Project/Scene?

Thats the new errors: grafik

I guess i have to delete the last line because its a placeholder and duplicate of the first line?

When i delete the last line i get: grafik

And so on...

@keijiro btw. i cant reopen the issue.

keijiro commented 2 years ago

The only thing you should do is modifying manifest.json. You shouldn't manually import anything from this repository.

keijiro commented 2 years ago

I'd recommend starting over from an empty project. Please reopen the issue if it still reproduces.

Againstyou commented 2 years ago

@keijiro Thats what im done. Can you check if i've done it correctly? So i have to use your Project if i want to use the asset?

I think i miss something.

Like i said:

Right now i've downloaded the sourceCode (since you arent provide unitypackage anymore, right?). I've extract the folder and add the included HDRP Folder to the Unity Hub. After that editing the manifest in "packages" folder from the included HDRP and try to open with Unity 2021.2.7f1.

What if i have an complete Scene which is ready but just need a few NDI sources? Is there any way to just implement the asset so that i can add some NDI Stuff to my existing scene?

Is there a possibility to chat with you? This could be easier. Any help is much appreciated.

Againstyou commented 2 years ago

@keijiro Looks like it start up now. The fault was, that i've changed the manifest in the provided HDRP package. When i just start without changing it starts without errors.

Thanks so far!