I got a project from someone else in which basically all audio related things are missing:
no audio listener component available for cameras
AddComponent() not recognized in scripts
no AudioSource component to add to GameObjects
even the menu components > audio is missing!
How is this possible?
Also, the videoplayer class is missing/not available…
Sorry for the delay responding…holidays and all that.
Looks like Keijiro is pretty fastidious about cleaning “unnecessary” dependencies out of his files. I’m pretty sure that’s what’s happening here. If I go to this file…
{
"scopedRegistries": [
{
"name": "Unity NuGet",
"url": "https://unitynuget-registry.azurewebsites.net",
"scopes": [
"org.nuget"
]
},
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [
"jp.keijiro"
]
}
],
"dependencies": {
"jp.keijiro.kino.post-processing": "2.1.15",
"jp.keijiro.klak.motion": "1.0.1",
This file has been truncated. show original
…and add the audio module back in under “dependencies”…
"dependencies": {
"com.unity.package-manager-ui": "2.2.0",
"com.unity.render-pipelines.high-definition": "6.9.1-preview",
"com.unity.ugui": "1.0.0",
"jp.keijiro.klak.motion": "1.0.0",
"org.nuget.system.memory": "4.5.3",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.audio": "1.0.0"
}
…I think you’ll be back in action.
1 Like
marc_tanenbaum:
Sorry for the delay responding…holidays and all that.
Looks like Keijiro is pretty fastidious about cleaning “unnecessary” dependencies out of his files. I’m pretty sure that’s what’s happening here. If I go to this file…
https://github.com/keijiro/Akvfx/blob/master/Packages/manifest.json
…and add the audio module back in under “dependencies”…
"dependencies": {
"com.unity.package-manager-ui": "2.2.0",
"com.unity.render-pipelines.high-definition": "6.9.1-preview",
"com.unity.ugui": "1.0.0",
"jp.keijiro.klak.motion": "1.0.0",
"org.nuget.system.memory": "4.5.3",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.audio": "1.0.0"
}
…I think you’ll be back in action.
Great, thanks so much! I wasn’t aware that such Unity core components could also be stripped like that…