StressLevelZero / MarrowSDK-Legacy

MIT License
290 stars 35 forks source link

invisible avatar ingame yes the mesh is fits correctly and my eyes are fine #avatars #58

Open deevol2 opened 1 year ago

MaysiesDaisies commented 1 year ago

Its most likely because you are not using a URP shader. Additionally, you may need to follow the tutorial located in the Wiki section for the MarrowSDK and make sure you use the hub to install the correct version of unity, then do the following:

  1. From the hub, create a new project. Making sure you use the URP Template as stated in the tutorial.
  2. Follow the rest of the tutorial for setting up the project and whatever mod/avatar/spawnable you are trying to use/create.
  3. Make sure you use a URP Compatible shader, this is NOT a normal shader you use for VRCHAT or other social VR Platforms. The Wiki specifically states to use the provided URP Lit shader.

The URP Shader provided should be under Universal Rendering Pipeline > Lit (PBR workflow) image

  1. After applying the correct shaders and your model is now invisible in unity itself, that is because the unity graphics settings are setup for rendering URP, please refer to step 1 OR optionally (and not recommended) you can refer to this unity tutorial for enabling URP without a template https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/InstallURPIntoAProject.html

  2. Lastly, make sure you DO NOT have any other plugins or packages, that are not needed, installed into the project. Doing so may break the MarrowSDK or the required assets needed to make it run.

Side Note: VRChat use Legacy Rendering Pipelines in shader created for Vrchat or other Legacy Rendering Pipelines are not compatible with the newer pipeline, Universal Rendering Pipeline (URP for short).

deevol2 commented 1 year ago

Its most likely because you are not using a URP shader. Additionally, you may need to follow the tutorial located in the Wiki section for the MarrowSDK and make sure you use the hub to install the correct version of unity, then do the following:

  1. From the hub, create a new project. Making sure you use the URP Template as stated in the tutorial.
  2. Follow the rest of the tutorial for setting up the project and whatever mod/avatar/spawnable you are trying to use/create.
  3. Make sure you use a URP Compatible shader, this is NOT a normal shader you use for VRCHAT or other social VR Platforms. The Wiki specifically states to use the provided URP Lit shader.

The URP Shader provided should be under Universal Rendering Pipeline > Lit (PBR workflow) image

  1. After applying the correct shaders and your model is now invisible in unity itself, that is because the unity graphics settings are setup for rendering URP, please refer to step 1 OR optionally (and not recommended) you can refer to this unity tutorial for enabling URP without a template https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/InstallURPIntoAProject.html
  2. Lastly, make sure you DO NOT have any other plugins or packages, that are not needed, installed into the project. Doing so may break the MarrowSDK or the required assets needed to make it run.

Side Note: VRChat use Legacy Rendering Pipelines in shader created for Vrchat or other Legacy Rendering Pipelines are not compatible with the newer pipeline, Universal Rendering Pipeline (URP for short).

ok i guessed that but i can't seem to find where the shader pipeline or whatever is, im new to unity

Greased-Scotsman commented 1 year ago

If you're new to Unity, you may want to hop into the SLZ discord #bonelab-modding channel https://discord.gg/hvEe5EYd and read through the MarrowSDK wiki section on Avatars. Also, in the future, please list the source of your avatar (home-grown, VRChat, some other game, etc.) as that will help diagnose problems.

deevol2 commented 1 year ago

If you're new to Unity, you may want to hop into the SLZ discord #bonelab-modding channel https://discord.gg/hvEe5EYd and read through the MarrowSDK wiki section on Avatars. Also, in the future, please list the source of your avatar (home-grown, VRChat, some other game, etc.) as that will help diagnose problems.

nvm i found out i do have the shaders on the textures so it should work but it's still invisible

Neongravity commented 1 year ago

If you are having the same problem I have you can only see yourself sometimes

Neongravity commented 1 year ago

did you try add a skinned mesh renderer to the mesh of your avatar (not the main the parent object) and enabling update when off screen