llealloo / audiolink

Audio reactive prefabs for VRChat
Other
347 stars 38 forks source link

"AudioLinkAvatar needs upgrade on source prefab asset" and "Script does not belong to a U# assembly" #228

Closed AftDawn closed 1 year ago

AftDawn commented 1 year ago

(Continuation from #227) Hi, i'm getting alot of errors in my console and my avatar (not making worlds, just an avatar) is invisible whenever i drag in the AudioLinkAvatar prefab, is it cause of UdonSharp doing something to the prefab?

image

float3 commented 1 year ago

You shouldn't have UdonSharp in your Avatar project

AftDawn commented 1 year ago

Ok, so i've removed UdonSharp and the VRC World SDK, but that doesn't remove any of the issues, avatar is still invis, but now there's missing scripts image

float3 commented 1 year ago

You have to remove the define as well https://github.com/llealloo/vrc-udon-audio-link/blob/dev/FAQ.md#answer-7

AftDawn commented 1 year ago

ok, so, i remade the project so that i was working with a clean slate and got the VCC CLI working, i've installed the avatar base and the audio link package into the project, same stuff in the editor: invisible avatar when not in play mode, no music playing, errors in the console, correct Scripting Define Symbols (i don't have UdonSharp in their, but i'm guessing that that's fine cause not making worlds) and no actual audio link using poiyomi toon v8.1.161

float3 commented 1 year ago

What errors?

Btw no idea what the invisible avatar is about, that's probably nothing to do with audiolink.

AftDawn commented 1 year ago

image yes, i know that the audio link is off in this, but that screenshot was made when i was turning it on and off trying anything to get it to work

float3 commented 1 year ago

You can ignore those

AftDawn commented 1 year ago

Ok, what about that missing script in the inspection panel? What's that normally?

pema99 commented 1 year ago

It's a hidden extra component that UdonSharp adds to any GameObject with UdonSharp behavior. The prefab is made this way because code is shared between the avatar and world version of AudioLink. You can ignore it, it's harmless. Feel free to remove the script reference.

pema99 commented 1 year ago

It's usually hidden but since you don't have U# installed it shows up.

pema99 commented 1 year ago

If you want to sanity check whether audiolink is working, I suggest just making a new scene, adding the audiolink prefab, adding a cube, and putting the Debug material on the cube (Packages/com.llealloo.audiolink/Runtime/Materials/mat_AudioLinkDebug.mat)

AftDawn commented 1 year ago

I'll do that next time I'm at my computer, see if it's poiyomi or audio link

(Fyi, I am on linux, so if audio link doesn't work correctly or whatever, then oh well)

pema99 commented 1 year ago

Should work fine on Linux. One of our main Contributors uses Linux

float3 commented 1 year ago

Latest release works just fine on Linux